Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for AndX (0.02 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java

        private byte[] blob = null;
    
        /**
         * Constructs a session setup AndX response.
         *
         * @param config the configuration to use
         * @param andx the next command in the AndX chain, or null
         */
        public SmbComSessionSetupAndXResponse(final Configuration config, final ServerMessageBlock andx) {
            super(config, andx);
        }
    
        /**
         * Returns the native LAN Manager string reported by the server.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java

        private final String fileName = "testFile.txt";
        private final int access = SmbFile.GENERIC_READ | SmbFile.GENERIC_WRITE;
        private ServerMessageBlock andx;
    
        /**
         * Sets up the test environment before each test.
         */
        @BeforeEach
        void setUp() {
            andx = mock(ServerMessageBlock.class);
        }
    
        /**
         * Test constructor with O_CREAT and O_TRUNC flags.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComLogoffAndX.java

    /**
     * SMB1 Logoff AndX request message.
     *
     * This command is used to terminate a user session that was
     * previously established with a Session Setup AndX command.
     */
    public class SmbComLogoffAndX extends AndXServerMessageBlock {
    
        /**
         * Creates a new SMB1 logoff request to end a user session.
         *
         * @param config the CIFS configuration
         * @param andx the next command in the AndX chain, or null
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

         * @param len the number of bytes to write
         * @param andx the next command in the AndX chain, or null
         */
        public SmbComWriteAndX(final Configuration config, final int fid, final long offset, final int remaining, final byte[] b, final int off,
                final int len, final ServerMessageBlock andx) {
            super(config, SMB_COM_WRITE_ANDX, andx);
            this.fid = fid;
            this.offset = offset;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java

    /**
     * SMB1 Read AndX Response message.
     *
     * This response contains the data that was read from the file
     * along with information about the read operation.
     */
    public class SmbComReadAndXResponse extends AndXServerMessageBlock {
    
        private byte[] data;
        private int offset, dataCompactionMode, dataLength, dataOffset;
    
        /**
         * Constructs a Read AndX response.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

        /**
         * Constructs an Open AndX request.
         *
         * @param config the configuration
         * @param fileName the name of the file to open
         * @param access the desired access mode
         * @param shareAccess the share access mode
         * @param flags the open flags
         * @param fileAttributes the file attributes
         * @param andx the next command in the chain
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

        /**
         * Constructs a tree connect AndX request to establish a connection to a shared resource.
         *
         * @param ctx the CIFS context containing configuration
         * @param server the server data containing security information
         * @param path the UNC path to the shared resource
         * @param service the service type (e.g., "A:" for disk share, "LPT1:" for printer)
         * @param andx the next command in the AndX chain, or null
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

        // flags is NOT the same as flags member
    
        SmbComOpenAndX(final String fileName, final int access, final int flags, final ServerMessageBlock andx) {
            super(andx);
            this.path = fileName;
            command = SMB_COM_OPEN_ANDX;
    
            desiredAccess = access & 0x3;
            if (desiredAccess == 0x3) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

        private int capabilities;
    
        /**
         * Constructs a session setup AndX request.
         *
         * @param tc the CIFS context containing configuration and credentials
         * @param negotiated the negotiation response containing server capabilities
         * @param andx the next command in the AndX chain, or null
         * @param cred the authentication credentials to use for the session
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java

            // SMB_COM_LOGOFF_ANDX = 0x74
            assertEquals((byte) 0x74, msg.command, "Command should be SMB_COM_LOGOFF_ANDX");
        }
    
        @Test
        @DisplayName("constructor with mock andx properly sets andx field")
        void constructorWithMockAndx() {
            // Create a mock ServerMessageBlock
            ServerMessageBlock mockAndx = mock(ServerMessageBlock.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top