Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 114 for reconnect (0.08 sec)

  1. docs/smb3-features/02-persistent-handles-design.md

            HandleReconnector reconnector = new HandleReconnector(handleManager);
            try {
                SmbFile reconnected = reconnector.reconnectHandle(this, e).get(5, TimeUnit.SECONDS);
                // Update this file's state from reconnected file
                this.fileId = reconnected.fileId;
            } catch (Exception reconnectError) {
                log.error("Failed to reconnect durable handle", reconnectError);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            super(connection.getURL());
            this.connection = connection;
            requestProperties = new HashMap();
        }
    
        @Override
        public void connect() throws IOException {
            if (connected) {
                return;
            }
            connection.connect();
            connected = true;
        }
    
        private void handshake() throws IOException {
            if (handshakeComplete) {
                return;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

                    }
                }
            }
            return null;
        }
    
        /**
         * Get the durable handle reconnect response if present
         * @return the durable handle reconnect response or null if not present
         */
        public jcifs.internal.smb2.persistent.DurableHandleReconnectResponse getDurableHandleReconnectResponse() {
            if (this.createContexts != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  4. docs/smb3-features/06-witness-protocol-design.md

            .execute(() -> {
                try {
                    transport.disconnect();
                    transport.connect();  // Reconnect
                    log.info("Successfully reconnected after witness notification");
                } catch (Exception e) {
                    log.error("Failed to reconnect after witness notification", e);
                }
            });
    }
    
    private void scheduleAddressChange(InetAddress newAddress) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  5. src/main/java/jcifs/http/NtlmHttpURLConnection.java

            this.setInstanceFollowRedirects(this.connection.getInstanceFollowRedirects());
        }
    
        @Override
        public void connect() throws IOException {
            if (this.connected) {
                return;
            }
            this.connection.connect();
            this.connected = true;
        }
    
        private void handshake() {
            if (this.handshakeComplete) {
                return;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                        "DHnC", // Durable handle reconnect
                        "AlSi", // Allocation size
                        "MxAc", // Max access
                        "TWrp", // Timewarp
                        "QFid", // Query on disk ID
                        "RqLs", // Request lease
                        "DH2Q", // Durable handle request V2
                        "DH2C", // Durable handle reconnect V2
                        "ExtA", // Extended attributes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

        }
    
        /**
         * Test that connect() calls connect() on the underlying connection.
         * @throws IOException
         */
        @Test
        void testConnect() throws Exception {
            // Act
            ntlmConnection.connect();
    
            // Assert
            verify(mockConnection).connect();
            // Connection should be established after connect
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

                if (info != null && !info.isExpired()) {
                    info.setReconnecting(true);
                    info.updateAccessTime();
                    log.debug("Found handle for reconnect: {}", path);
                    return info;
                }
                return null;
            } finally {
                lock.readLock().unlock();
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. cmd/storage-rest-client.go

    	return client.endpoint.String()
    }
    
    // IsOnline - returns whether client failed to connect or not.
    func (client *storageRESTClient) IsOnline() bool {
    	return client.restClient.IsOnline() || client.IsOnlineWS()
    }
    
    // IsOnlineWS - returns whether websocket client failed to connect or not.
    func (client *storageRESTClient) IsOnlineWS() bool {
    	return client.gridConn.State() == grid.StateConnected
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 08 02:38:41 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/Configuration.java

         *
         * @return the registration timeout
         */
        long getWitnessRegistrationTimeout();
    
        /**
         * Gets the witness reconnect delay in milliseconds.
         *
         * @return the reconnect delay
         */
        long getWitnessReconnectDelay();
    
        /**
         * Gets whether witness service discovery is enabled.
         *
         * @return true if discovery is enabled
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top