Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for isDisconnected (0.11 sec)

  1. src/main/java/jcifs/util/transport/Transport.java

            }
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#finalize()
         */
        @Override
        protected void finalize () throws Throwable {
            if ( !isDisconnected() && this.usageCount.get() != 0 ) {
                log.warn("Session was not properly released");
            }
        }
    
    
        /**
         * @return the number of known usages
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                        && ( tc.getConfig().getSessionLimit() == 0 || conn.getNumSessions() < tc.getConfig().getSessionLimit() ) ) {
                    try {
                        if ( conn.isFailed() || ( connectedOnly && conn.isDisconnected() ) ) {
                            continue;
                        }
    
                        if ( forceSigning && !conn.isSigningEnforced() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/TimeoutTest.java

                    }
                    f.close();
    
                    Thread.sleep(2 * soTimeout);
    
                    // 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();
                }
    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/smb/SmbTreeImpl.java

                            if ( response.isReceived() && !response.isError() && response.getErrorCode() == NtStatus.NT_STATUS_OK ) {
                                if ( !transport.isDisconnected() ) {
                                    treeConnected(transport, sess, response);
                                }
                                throw se;
                            }
                        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeConnection.java

            try ( SmbSessionImpl session = getSession() ) {
                if ( isConnected() ) {
                    try ( SmbTransportImpl transport = session.getTransport() ) {
                        if ( transport.isDisconnected() || transport.getRemoteHostName() == null ) {
                            /*
                             * Tree/session thinks it is connected but transport disconnected
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
Back to top