Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for getTransportPool (0.06 sec)

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

            // Set up mock behaviors
            when(mockContext.getConfig()).thenReturn(mockConfig);
            when(mockContext.getCredentials()).thenReturn(mockCredentials);
            when(mockContext.getTransportPool()).thenReturn(mockTransportPool);
            when(mockConfig.getDfsTtl()).thenReturn(300L);
    
            // Mock transport to throw IOException - simulating connection failure
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/CIFSContext.java

         */
        BufferCache getBufferCache();
    
        /**
         * Get the transport pool for managing SMB connections
         *
         * @return the transport pool
         */
        SmbTransportPool getTransportPool();
    
        /**
         * Get the DFS resolver for handling distributed file system paths
         *
         * @return the DFS instance for this context
         */
        DfsResolver getDfs();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/context/AbstractCIFSContextTest.java

            }
    
            @Override
            public DfsResolver getDfs() {
                return null; // Not relevant for AbstractCIFSContext tests
            }
    
            @Override
            public SmbTransportPool getTransportPool() {
                return null; // Not relevant for AbstractCIFSContext tests
            }
    
            @Override
            public BufferCache getBufferCache() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            return getChallenge(tf, dc, 0);
        }
    
        @Override
        public byte[] getChallenge(final CIFSContext tf, final Address dc, final int port) throws SmbException {
            try (SmbTransportInternal trans = tf.getTransportPool()
                    .getSmbTransport(tf, dc, port, false, !tf.getCredentials().isAnonymous() && tf.getConfig().isIpcSigningEnforced())
                    .unwrap(SmbTransportInternal.class)) {
                trans.ensureConnected();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeConnection.java

                        if (log.isDebugEnabled()) {
                            log.debug("Using exclusive transport for " + this);
                        }
                        this.exclusiveTransport = this.ctx.getTransportPool()
                                .getSmbTransport(this.ctx, host, loc.getPort(), true, loc.shouldForceSigning())
                                .unwrap(SmbTransportInternal.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/http/NtlmServletTest.java

                transportContextField.set(ntlmServlet, cifsContext);
            } catch (Exception e) {
                throw new RuntimeException("Failed to inject mock CIFSContext", e);
            }
    
            when(cifsContext.getTransportPool()).thenReturn(transportPool);
            when(cifsContext.getNameServiceClient()).thenReturn(nameServiceClient);
            lenient().when(cifsContext.getConfig()).thenReturn(configuration);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NetworkExplorer.java

                    }
    
                    req.getSession(); /* ensure session id is set for cluster env. */
                    challenge = getTransportContext().getTransportPool().getChallenge(getTransportContext(), dc);
                    if ((ntlm = NtlmSsp.authenticate(getTransportContext(), req, resp, challenge)) == null) {
                        return;
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

                log.debug("Exception in disconnect", e);
            } finally {
                this.socket = null;
                this.digest = null;
                this.tconHostName = null;
                this.transportContext.getTransportPool().removeTransport(this);
            }
            return wasInUse;
        }
    
        @Override
        protected long makeKey(final Request request) throws IOException {
            long m = this.mid.incrementAndGet() - 1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top