Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for getTransportPool (0.11 sec)

  1. src/test/java/jcifs/tests/ConcurrencyTest.java

                    }
                }
            });
    
            try {
                CIFSContext c = getContext();
                c = withTestNTLMCredentials(c);
                try ( SmbTransportInternal trans = c.getTransportPool().getSmbTransport(c, getTestServer(), 0, false, true)
                        .unwrap(SmbTransportInternal.class);
                      SmbSession sess = trans.unwrap(SmbTransportInternal.class).getSmbSession(c, getTestServer(), null);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:40:50 UTC 2021
    - 17.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/ContextConfigTest.java

        }
    
    
        @Test
        public void testSingletonInit () {
            assertNotNull(this.context.getBufferCache());
            assertNotNull(this.context.getNameServiceClient());
            assertNotNull(this.context.getTransportPool());
            assertNotNull(this.context.getUrlHandler());
            assertNotNull(this.context.getCredentials());
        }
    
    
        @Test
        public void testCredentials () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/TimeoutTest.java

                    // connection should be closed by now
                    assertTrue("Transport is still connected", t.isDisconnected());
                    assertFalse("Connection is still in the pool", ( (SmbTransportPoolImpl) ctx.getTransportPool() ).contains(t));
                }
                finally {
                    f.delete();
                }
            }
    
        }
    
    
        @Test ( expected = ConnectionTimeoutException.class )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
  4. 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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

            }
            finally {
                this.socket = null;
                this.digest = null;
                this.tconHostName = null;
                this.transportContext.getTransportPool().removeTransport(this);
            }
            return wasInUse;
        }
    
    
        @Override
        protected long makeKey ( Request request ) throws IOException {
            long m = this.mid.incrementAndGet() - 1;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
Back to top