Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 44 for SmbComTransactionResponse (0.57 seconds)

  1. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

     * including parameter and data buffer management, multi-part responses, and enumeration support.
     */
    public abstract class SmbComTransactionResponse extends ServerMessageBlock implements Enumeration<SmbComTransactionResponse> {
    
        // relative to headerStart
        static final int SETUP_OFFSET = 61;
    
        static final int DISCONNECT_TID = 0x01;
        static final int ONE_WAY_TRANSACTION = 0x02;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    import java.util.Enumeration;
    
    import jcifs.smb1.util.LogStream;
    
    abstract class SmbComTransactionResponse extends ServerMessageBlock implements Enumeration {
    
        // relative to headerStart
        private static final int SETUP_OFFSET = 61;
    
        private static final int DISCONNECT_TID = 0x01;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            SmbComTransactionResponse r1 = (SmbComTransactionResponse) d.nextElement();
            assertSame(d, r1, "nextElement should return the same instance");
            // After first call isPrimary should be false
            assertFalse(d.getIsPrimary(), "isPrimary should be cleared after first call");
            // Second call keeps the same state
            SmbComTransactionResponse r2 = (SmbComTransactionResponse) d.nextElement();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

    /**
     * Test class for SmbComTransactionResponse
     */
    class SmbComTransactionResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        @Mock
        private FileEntry mockFileEntry1;
    
        @Mock
        private FileEntry mockFileEntry2;
    
        private TestSmbComTransactionResponse response;
    
        // Test implementation of abstract SmbComTransactionResponse
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/InfoTest.java

     * protocol handling code.
     */
    class InfoTest {
    
        // A tiny mock to illustrate Mockito interaction patterns.
        @Mock
        private SmbComTransactionResponse transactionMock;
    
        @BeforeEach
        void setUp() {
            transactionMock = mock(SmbComTransactionResponse.class);
        }
    
        @Test
        void testSmbComQueryInformationResponseGetters() throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/Trans2SetFileInformationResponse.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    class Trans2SetFileInformationResponse extends SmbComTransactionResponse {
    
        Trans2SetFileInformationResponse() {
            subCommand = SmbComTransaction.TRANS2_SET_FILE_INFORMATION;
        }
    
        @Override
        int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/NetShareEnumResponse.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    import jcifs.smb1.util.LogStream;
    
    class NetShareEnumResponse extends SmbComTransactionResponse {
    
        private int converter, totalAvailableEntries;
    
        NetShareEnumResponse() {
        }
    
        @Override
        int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponse.java

     *
     * This response is received after waiting for a named pipe to become available
     * for connection when the pipe server was busy.
     */
    public class TransWaitNamedPipeResponse extends SmbComTransactionResponse {
    
        /**
         * Constructs a response for a wait named pipe request.
         *
         * @param config the configuration to use
         */
        public TransWaitNamedPipeResponse(final Configuration config) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponse.java

     */
    
    package jcifs.internal.smb1.trans.nt;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.Configuration;
    import jcifs.internal.smb1.trans.SmbComTransactionResponse;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Base class for SMB1 NT Transaction response messages.
     *
     * NT Transactions are an extended form of the basic transaction protocol
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponse.java

    import jcifs.internal.smb1.trans.SmbComTransactionResponse;
    
    /**
     * SMB1 Trans2 Set File Information response implementation.
     * Handles server responses to Trans2 set file information requests, used for
     * modifying file attributes, timestamps, and other file metadata in SMB1 protocol.
     *
     * @author mbechler
     */
    public class Trans2SetFileInformationResponse extends SmbComTransactionResponse {
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
Back to Top