Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 121 for ServerMessageBlock (0.11 seconds)

  1. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

        long responseTimeout = 1;
        int signSeq;
        boolean verifyFailed;
        NtlmPasswordAuthentication auth = null;
        String path;
        SigningDigest digest = null;
        ServerMessageBlock response;
    
        ServerMessageBlock() {
            flags = (byte) (FLAGS_PATH_NAMES_CASELESS | FLAGS_PATH_NAMES_CANONICALIZED);
            pid = PID;
            batchLevel = 0;
        }
    
        void reset() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

     * and response messages, including header fields, message encoding/decoding, and wire format handling.
     */
    public abstract class ServerMessageBlock implements CommonServerMessageBlockRequest, CommonServerMessageBlockResponse, RequestWithPath {
    
        private static final Logger log = LoggerFactory.getLogger(ServerMessageBlock.class);
    
        /*
         * These are all the smbs supported by this library. This includes requests
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            byte[] buffer = new byte[2];
            ServerMessageBlock.writeInt2(0x1234, buffer, 0);
            assertEquals(0x1234, ServerMessageBlock.readInt2(buffer, 0));
        }
    
        @Test
        void testInt4ReadWrite() {
            byte[] buffer = new byte[4];
            ServerMessageBlock.writeInt4(0x12345678, buffer, 0);
            assertEquals(0x12345678, ServerMessageBlock.readInt4(buffer, 0));
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

         * {@inheritDoc}
         *
         * @see jcifs.internal.smb1.ServerMessageBlock#getNext()
         */
        @Override
        public ServerMessageBlock getNext() {
            return this.andx;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockResponse#getNextResponse()
         */
        @Override
        public ServerMessageBlock getNextResponse() {
            return this.andx;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComClose.java

    import jcifs.internal.Request;
    import jcifs.internal.smb1.SMB1SigningDigest;
    import jcifs.internal.smb1.ServerMessageBlock;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB1 Close file request message.
     *
     * This command is used to close a file that was previously opened
     * with an Open command.
     */
    public class SmbComClose extends ServerMessageBlock implements Request<SmbComBlankResponse> {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java

         */
        public SmbComLockingAndX(final Configuration config) {
            super(config);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb1.ServerMessageBlock#writeParameterWordsWireFormat(byte[], int)
         */
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComSeekResponse.java

    import jcifs.internal.smb1.ServerMessageBlock;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB1 Seek command response implementation.
     * Handles server responses to file seek operations, returning the new file
     * position after a seek request in SMB1 protocol file operations.
     *
     * @author mbechler
     */
    public class SmbComSeekResponse extends ServerMessageBlock {
    
        private long offset;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            doNothing().when(transport).connect();
    
            // Setup response for tree connect
            doAnswer(invocation -> {
                ServerMessageBlock request = invocation.getArgument(0);
                ServerMessageBlock response = invocation.getArgument(1);
                if (request instanceof SmbComTreeConnectAndX && response instanceof SmbComTreeConnectAndXResponse) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtCancel.java

    import jcifs.Configuration;
    import jcifs.internal.smb1.ServerMessageBlock;
    
    /**
     * SMB1 NT Cancel command implementation.
     * Provides functionality to cancel previously issued SMB1 NT transaction commands
     * that are in progress, allowing clients to abort long-running operations.
     *
     * @author mbechler
     */
    public class SmbComNtCancel extends ServerMessageBlock {
    
        /**
         * Constructs an NT cancel command.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComLogoffAndX.java

     */
    
    package jcifs.internal.smb1.com;
    
    import jcifs.Configuration;
    import jcifs.internal.smb1.AndXServerMessageBlock;
    import jcifs.internal.smb1.ServerMessageBlock;
    
    /**
     * SMB1 Logoff AndX request message.
     *
     * This command is used to terminate a user session that was
     * previously established with a Session Setup AndX command.
     */
    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)
Back to Top