Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isConnected (0.26 sec)

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

        /**
         * @return
         * @throws CIFSException
         * 
         */
        synchronized SmbTreeHandleImpl ensureTreeConnected () throws CIFSException {
            if ( this.treeHandle == null || !this.treeHandle.isConnected() ) {
                if ( this.treeHandle != null && this.transportContext.getConfig().isStrictResourceLifecycle() ) {
                    this.treeHandle.release();
                }
    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)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

     */
        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.
                 */
                tree.treeDisconnect(true);
            }
    
            if( isConnected() ) {
                return;
            }
    
            getUncPath0();
    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)
Back to top