Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 213 for reconnect (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnectResponse.java

        // The response structure is empty (0 bytes) for reconnect
        // No data is returned in a successful reconnect response
    
        /**
         * Create a new durable handle reconnect response
         */
        public DurableHandleReconnectResponse() {
            // No data fields for reconnect response
        }
    
        @Override
        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 2K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java

            log.debug("Performing reconnection for handle: {} (type: {})", info.getPath(), info.getType());
    
            // Create reconnect context
            DurableHandleReconnect reconnectCtx = new DurableHandleReconnect(info.getFileId());
    
            // This would typically involve:
            // 1. Creating a new Smb2CreateRequest with reconnect context
            // 2. Adding lease context if needed
            // 3. Sending the request through the appropriate transport
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 8.5K bytes
    - Click Count (1)
  3. 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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 31.6K bytes
    - Click Count (0)
  4. 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) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java

            }
    
            DurableHandleReconnect reconnect = new DurableHandleReconnect(fileId);
    
            assertEquals("DHnC", new String(reconnect.getName()));
            assertArrayEquals(fileId, reconnect.getFileId());
            assertTrue(reconnect.size() > 0);
    
            // Test encoding
            byte[] buffer = new byte[reconnect.size()];
            int encoded = reconnect.encode(buffer, 0);
            assertEquals(reconnect.size(), encoded);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  6. 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;
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  7. 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) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 42K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

    import java.io.Serializable;
    import java.util.Arrays;
    
    import jcifs.internal.smb2.lease.Smb2LeaseKey;
    
    /**
     * Information about a durable or persistent SMB handle.
     * This class holds all the necessary information to reconnect
     * a handle after network failures or server reboots.
     */
    public class HandleInfo implements Serializable {
    
        private static final long serialVersionUID = 1L;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  9. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  10. 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();
            }
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 13K bytes
    - Click Count (0)
Back to Top