Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 46 for subCommand (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        /**
         * Gets the transaction subcommand
         * @return the subCommand
         */
        public final byte getSubCommand() {
            return this.subCommand;
        }
    
        /**
         * Sets the transaction subcommand
         * @param subCommand
         *            the subCommand to set
         */
        public final void setSubCommand(final byte subCommand) {
            this.subCommand = subCommand;
        }
    
        /**
    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/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

        void testConstructorWithCommandAndSubcommand() {
            byte command = (byte) 0x25;
            byte subcommand = (byte) 0x01;
            TestSmbComTransactionResponse resp = new TestSmbComTransactionResponse(mockConfig, command, subcommand);
            assertNotNull(resp);
            assertEquals(command, resp.getCommand());
            assertEquals(subcommand, resp.getSubCommand());
        }
    
    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)
  3. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

        /**
         * Gets the transaction subcommand
         * @return the subCommand
         */
        public final byte getSubCommand() {
            return this.subCommand;
        }
    
        /**
         * Sets the transaction subcommand
         * @param subCommand
         *            the subCommand to set
         */
        public final void setSubCommand(final byte subCommand) {
            this.subCommand = subCommand;
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java

            netServerEnum2.subCommand = (byte) SmbComTransaction.NET_SERVER_ENUM3;
            String lastName = "LAST_SERVER";
            netServerEnum2.reset(0, lastName);
    
            byte[] dst = new byte[150];
            int bytesWritten = netServerEnum2.writeParametersWireFormat(dst, 0);
    
            // Verify subcommand
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformation.java

    class Trans2QueryFSInformation extends SmbComTransaction {
    
        private final int informationLevel;
    
        Trans2QueryFSInformation(final int informationLevel) {
            command = SMB_COM_TRANSACTION2;
            subCommand = TRANS2_QUERY_FS_INFORMATION;
            this.informationLevel = informationLevel;
            totalParameterCount = 2;
            totalDataCount = 0;
            maxParameterCount = 0;
            maxDataCount = 800;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

            // ServerMessageBlock.
            assertEquals(SmbComTransaction.SMB_COM_TRANSACTION2, cmd.command, "command should be TRANSACTION2");
            assertEquals(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION, cmd.subCommand, "subCommand should be QUERY_FS_INFORMATION");
            // the fields are set in the constructor – check that the counts match
            assertEquals(2, cmd.totalParameterCount, "totalParameterCount should be 2");
    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)
  7. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

            // Command should be SMB_COM_TRANSACTION
            assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION, pipe.command);
    
            // SubCommand should be TRANS_WAIT_NAMED_PIPE (0x53)
            assertEquals(SmbComTransaction.TRANS_WAIT_NAMED_PIPE, pipe.subCommand);
    
            // Timeout is set to 0xFFFFFFFF (-1 when cast to int)
            assertEquals(0xFFFFFFFF, pipe.timeout);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/NetServerEnum2.java

            final int start = dstIndex;
            byte[] descr;
            final int which = subCommand == NET_SERVER_ENUM2 ? 0 : 1;
    
            try {
                descr = DESCR[which].getBytes("ASCII");
            } catch (final UnsupportedEncodingException uee) {
                return 0;
            }
    
            writeInt2(subCommand & 0xFF, dst, dstIndex);
            dstIndex += 2;
            System.arraycopy(descr, 0, dst, dstIndex, descr.length);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/Trans2FindNext2.java

        Trans2FindNext2(final int sid, final int resumeKey, final String filename) {
            this.sid = sid;
            this.resumeKey = resumeKey;
            this.filename = filename;
            command = SMB_COM_TRANSACTION2;
            subCommand = TRANS2_FIND_NEXT2;
            informationLevel = Trans2FindFirst2.SMB_FILE_BOTH_DIRECTORY_INFO;
            flags = 0x00;
            maxParameterCount = 8;
            maxDataCount = Trans2FindFirst2.LIST_SIZE;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            assertEquals(0, response.getCommand());
    
            // Verify we can change the subcommand
            response.setSubCommand((byte) 0xFF);
            assertEquals((byte) 0xFF, response.getSubCommand());
    
            // But creating a new instance should have the correct subcommand
            Trans2SetFileInformationResponse newResponse = new Trans2SetFileInformationResponse(config);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.9K bytes
    - Click Count (0)
Back to Top