Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 7,107 for andx (0.04 seconds)

  1. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java

        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
        void testConstructor_CreateAndTruncate() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. 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.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.7K bytes
    - Click Count (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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.1K bytes
    - Click Count (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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.1K bytes
    - Click Count (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.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.9K bytes
    - Click Count (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
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.3K bytes
    - Click Count (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
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  8. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  9. 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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java

        private String nativeFileSystem = "";
    
        /**
         * Constructs a tree connect AndX response.
         *
         * @param config the configuration to use
         * @param andx the next command in the AndX chain, or null
         */
        public SmbComTreeConnectAndXResponse(final Configuration config, final ServerMessageBlock andx) {
            super(config, andx);
        }
    
        /**
         * @return the service
         */
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.1K bytes
    - Click Count (0)
Back to Top