Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getTransportPool (0.2 sec)

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

            ctx.getTransportPool().logon(ctx, ctx.getNameServiceClient().getByName(getTestServer()));
        }
    
    
        // #68
        @Test ( expected = SmbException.class )
        public void testPoolLogonFail () throws CIFSException, UnknownHostException {
            CIFSContext ctx = withTestNTLMCredentials(getContext());
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/OplockTests.java

    
        @Test
        public void testOpenOplocked () throws UnknownHostException, IOException {
            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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/DfsImpl.java

                // https://lists.samba.org/archive/samba-technical/2009-August/066486.html
                // UniAddress addr = UniAddress.getByName(authDomain, true, tf);
                // SmbTransport trans = tf.getTransportPool().getSmbTransport(tf, addr, 0);
                try ( SmbTransport dc = getDc(tf, authDomain) ) {
                    CacheEntry<Map<String, CacheEntry<DfsReferralDataInternal>>> entry = new CacheEntry<>(tf.getConfig().getDfsTtl() * 10L);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/context/BaseContext.java

            }
            catch ( MalformedURLException e ) {
                throw new CIFSException("Invalid URL " + url, e);
            }
        }
    
    
        @Override
        public SmbTransportPool getTransportPool () {
            return this.transportPool;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#getConfig()
         */
        @Override
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 27 18:25:00 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  5. 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  6. 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
Back to top