Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 284 for COMMAND (0.88 sec)

  1. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                super(config);
            }
    
            public TestServerMessageBlock(Configuration config, byte command) {
                super(config, command);
            }
    
            public TestServerMessageBlock(Configuration config, byte command, String path) {
                super(config, command, path);
            }
    
            @Override
            protected int writeParameterWordsWireFormat(byte[] dst, int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

            super(config);
        }
    
        /**
         * Constructor for SMB2 request with configuration and command.
         *
         * @param config the configuration object
         * @param command the SMB2 command code
         */
        public ServerMessageBlock2Request(final Configuration config, final int command) {
            super(config, command);
        }
    
        @Override
        public ServerMessageBlock2Request<T> ignoreDisconnect() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

        /**
         * Ensure the constructor sets the {@code command} field of the
         * {@link ServerMessageBlock} superclass to {@link ServerMessageBlock#SMB_COM_CLOSE}.
         */
        @Test
        @DisplayName("happy: constructor sets command correctly")
        void testConstructorSetsCommand() {
            SmbComClose close = new SmbComClose(1, 12345L);
            assertEquals(SMB_COM_CLOSE, close.command, "command should be SMB_COM_CLOSE after construction");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        protected static final short SMB2_WRITE = 0x0009;
        /** SMB2 lock file command */
        protected static final short SMB2_LOCK = 0x000A;
        /** SMB2 IO control command */
        protected static final short SMB2_IOCTL = 0x000B;
        /** SMB2 cancel command */
        protected static final short SMB2_CANCEL = 0x000C;
        /** SMB2 echo/keepalive command */
        protected static final short SMB2_ECHO = 0x000D;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

        /**
         * Constructs an AndX message block with configuration and command
         * @param config the configuration
         * @param command the SMB command
         */
        protected AndXServerMessageBlock(final Configuration config, final byte command) {
            this(config, command, null);
        }
    
        /**
         * Constructs an AndX message block with command and chained command
         * @param config the configuration
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

        @DisplayName("Test setCommand with various SMB command codes")
        void testSetCommandWithVariousCodes() {
            // Test common SMB command codes
            int[] commandCodes = { 0x00, 0x72, 0x73, 0x74, 0x75, 0xFF };
    
            for (int command : commandCodes) {
                doNothing().when(messageBlock).setCommand(command);
                when(messageBlock.getCommand()).thenReturn(command);
    
                messageBlock.setCommand(command);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java

                    "String should start with the class name.");
            org.junit.jupiter.api.Assertions.assertTrue(actualString.contains("command=SMB_COM_CREATE_DIRECTORY"),
                    "String should contain the command name.");
            org.junit.jupiter.api.Assertions.assertTrue(actualString.contains("directoryName=myDir"),
                    "String should contain the directory name.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

        /**
         * Constructs a transaction response with specified command.
         *
         * @param config the configuration to use
         * @param command the SMB command code
         * @param subcommand the transaction subcommand code
         */
        protected SmbComTransactionResponse(final Configuration config, final byte command, final byte subcommand) {
            super(config, command);
            this.subCommand = subcommand;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

                    openFunction = OPEN_FN_CREATE | OPEN_FN_OPEN;
                }
            } else {
                openFunction = OPEN_FN_OPEN;
            }
        }
    
        @Override
        int getBatchLimit(final byte command) {
            return command == SMB_COM_READ_ANDX ? BATCH_LIMIT : 0;
        }
    
        @Override
        int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

        void testToStringUnknownCommand() {
            smb.command = (byte) 0xFF; // Unknown command
            smb.errorCode = 0;
            smb.mid = 1;
            String str = smb.toString();
            assertTrue(str.contains("command=UNKNOWN"));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top