Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for connected (0.18 sec)

  1. src/main/java/jcifs/smb/DfsImpl.java

                synchronized ( trans ) {
                    try {
                        // ensure connected
                        trans.ensureConnected();
                        refServerName = trans.getRemoteHostName();
                    }
                    catch ( IOException e ) {
                        log.warn("Failed to connect to domain controller", e);
                    }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTreeImpl.java

        protected void finalize () throws Throwable {
            if ( isConnected() && this.usageCount.get() != 0 ) {
                log.warn("Tree was not properly released");
            }
        }
    
    
        /**
         * 
         * @return whether the tree is connected
         */
        public boolean isConnected () {
            return this.tid != -1 && this.session.isConnected() && this.connectionState.get() == 2;
        }
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbSessionImpl.java

    /**
     *
     */
    final class SmbSessionImpl implements SmbSessionInternal {
    
        private static final Logger log = LoggerFactory.getLogger(SmbSessionImpl.class);
    
        /*
         * 0 - not connected
         * 1 - connecting
         * 2 - connected
         * 3 - disconnecting
         */
        private final AtomicInteger connectionState = new AtomicInteger();
        private int uid;
        private List<SmbTreeImpl> trees;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

        }
    /**
     * It is not necessary to call this method directly. This is the
     * <tt>URLConnection</tt> implementation of <tt>connect()</tt>.
     */
        public void connect() throws IOException {
            if (isConnected() && tree.session.transport.tconHostName == null) {
                /* Tree thinks it is connected but transport disconnected
                 * under it, reset tree to reflect the truth.
                 */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  5. src/main/java/jcifs/smb/SmbFile.java

                return false;
            }
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.net.URLConnection#connect()
         */
        @Override
        public void connect () throws IOException {
            try ( SmbTreeHandle th = ensureTreeConnected() ) {}
        }
    
    
        /**
         * 
         * @return a tree handle
         * @throws CIFSException
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
Back to top