Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for treeDisconnect (0.14 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbTree.java

                tree_num = tree_conn_counter++;
        
                connectionState = 2; // connected
            } catch (SmbException se) {
                treeDisconnect(true);
                connectionState = 0;
                throw se;
            }
    }
        }
        void treeDisconnect( boolean inError ) {
    synchronized (session.transport()) {
    
            if (connectionState != 2) // not-connected
                return;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTreeImpl.java

                         * reappear in this client's lifetime.
                         */
                        log.debug("Disconnect tree on NT_STATUS_NETWORK_NAME_DELETED");
                        treeDisconnect(true, true);
                    }
                    throw se;
                }
            }
        }
    
    
        /**
         * @param transport
         * @param request
         * @throws SmbException
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbSession.java

            connectionState = 3; // disconnecting
    
            netbiosName = null;
    
            for( Enumeration e = trees.elements(); e.hasMoreElements(); ) {
                SmbTree t = (SmbTree)e.nextElement();
                t.treeDisconnect( inError );
            }
    
            if( !inError && transport.server.security != ServerMessageBlock.SECURITY_SHARE ) {
                /*
                 * Logoff And X Request / Response
                 */
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeConnection.java

                    synchronized ( transport ) {
                        SmbTreeImpl t = getTreeInternal();
                        if ( t != null ) {
                            try {
                                t.treeDisconnect(inError, true);
                            }
                            finally {
                                this.tree = null;
                                this.treeAcquired = false;
                            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbSessionImpl.java

                        for ( SmbTreeImpl t : this.trees ) {
                            try {
                                log.debug("Disconnect tree on logoff");
                                wasInUse |= t.treeDisconnect(inError, false);
                            }
                            catch ( Exception e ) {
                                log.warn("Failed to disconnect tree " + t, e);
                            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

                /* Tree thinks it is connected but transport disconnected
                 * under it, reset tree to reflect the truth.
                 */
                tree.treeDisconnect(true);
            }
    
            if( isConnected() ) {
                return;
            }
    
            getUncPath0();
            getFirstAddress();
            for ( ;; ) {
                try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
Back to top