Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 180 for GetConfig (0.09 seconds)

  1. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

            // Arrange mocks for available()
            when(handle.ensureOpen()).thenReturn(fd);
            when(fd.getTree()).thenReturn(tree);
            when(tree.isSMB2()).thenReturn(true);
            when(tree.getConfig()).thenReturn(config);
            when(config.getTransactionBufferSize()).thenReturn(65535);
    
            Smb2IoctlResponse ioResp = mock(Smb2IoctlResponse.class);
            SrvPipePeekResponse peek = mock(SrvPipePeekResponse.class);
    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)
  2. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java

         * @param leaseKey lease key
         * @param leaseState acknowledged lease state
         */
        public Smb2LeaseBreakAcknowledgment(CIFSContext context, Smb2LeaseKey leaseKey, int leaseState) {
            this(context.getConfig(), leaseKey, leaseState);
        }
    
        /**
         * Gets the lease key for this acknowledgment
         * @return the lease key
         */
        public Smb2LeaseKey getLeaseKey() {
            return leaseKey;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/NtlmContext.java

            } else {
                this.ntlmsspFlags |= NtlmFlags.NTLMSSP_NEGOTIATE_ANONYMOUS;
            }
            this.requireKeyExchange = doSigning;
            this.workstation = tc.getConfig().getNetbiosHostname();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#getSupportedMechs()
         */
        @Override
        public ASN1ObjectIdentifier[] getSupportedMechs() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 17.3K bytes
    - Click Count (1)
  4. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            when(handle.isValid()).thenReturn(true);
            when(handle.getTree()).thenReturn(tree);
            when(tree.isSMB2()).thenReturn(true);
            when(tree.getConfig()).thenReturn(mock(Configuration.class));
            when(handle.getFileId()).thenReturn(fileId);
            when(tree.send(any(CommonServerMessageBlockRequest.class), any(), any(), any())).thenReturn(resp);
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  5. docs/smb3-features/04-directory-leasing-design.md

        if (!isDirectory() || !context.getConfig().isUseDirectoryLeasing()) {
            return;
        }
        
        if (!tree.getSession().supports(SMB3_0)) {
            return;  // Directory leasing requires SMB3
        }
        
        directoryLeaseManager = tree.getSession().getDirectoryLeaseManager();
        if (directoryLeaseManager != null) {
            DirectoryCacheScope scope = context.getConfig().getDirectoryCacheScope();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 36.2K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java

         */
        public Smb2SessionSetupRequest(final CIFSContext context, final int securityMode, final int capabilities, final long previousSessionid,
                final byte[] token) {
            super(context.getConfig(), SMB2_SESSION_SETUP);
            this.securityMode = securityMode;
            this.capabilities = capabilities;
            this.previousSessionId = previousSessionid;
            this.token = token;
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  7. docs/smb3-features/02-persistent-handles-design.md

            }
        }
        
        // Request new durable handle if configured
        if (context.getConfig().isUseDurableHandles()) {
            requestDurableHandle();
        }
        
        // ... rest of normal connection logic ...
    }
    
    private void requestDurableHandle() {
        Configuration config = context.getConfig();
        
        // Determine handle type based on configuration and server capabilities
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 31.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

            NameServiceClient mockNameServiceClient = mock(NameServiceClient.class);
            NetbiosAddress mockHost = mock(NetbiosAddress.class);
    
            when(mockContext.getConfig()).thenReturn(mockConfig);
            when(mockContext.getNameServiceClient()).thenReturn(mockNameServiceClient);
            when(mockNameServiceClient.getLocalHost()).thenReturn(mockHost);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

         */
        public SmbComTreeConnectAndX(final CIFSContext ctx, final ServerData server, final String path, final String service,
                final ServerMessageBlock andx) {
            super(ctx.getConfig(), SMB_COM_TREE_CONNECT_ANDX, andx);
            this.ctx = ctx;
            this.server = server;
            this.path = path;
            this.service = service;
        }
    
        @Override
    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)
  10. src/main/java/jcifs/ntlmssp/Type1Message.java

         * environment.
         *
         * @param tc
         *            context to use
         */
        public Type1Message(final CIFSContext tc) {
            this(tc, getDefaultFlags(tc), tc.getConfig().getDefaultDomain(), tc.getNameServiceClient().getLocalHost().getHostName());
        }
    
        /**
         * Creates a Type-1 message with the specified parameters.
         *
         * @param tc
         *            context to use
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top