Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsConnected (0.04 sec)

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

        @Override
        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();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

         *
         */
        synchronized SmbTreeHandleImpl ensureTreeConnected() throws CIFSException {
            // Optimization: Check connection validity more efficiently
            if (this.treeHandle != null && this.treeHandle.isConnected()) {
                // Connection is still valid - reuse it
                return this.treeHandle.acquire();
            }
    
            // Clean up old handle if needed
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top