- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 51 for urlconnection (0.06 sec)
-
docs/smb3-features/02-persistent-handles-design.md
} } public void shutdown() { scheduler.shutdown(); persistHandles(); // Final persist before shutdown } } ``` ## 5. Handle Reconnection Logic ### 5.1 Automatic Reconnection Handler ```java package jcifs.internal.smb2.persistent; import java.util.concurrent.CompletableFuture; import java.util.concurrent.TimeUnit; public class HandleReconnector {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java
import java.nio.ByteBuffer; import java.util.UUID; /** * Handle GUID structure for SMB2/3 durable and persistent handles. * Provides a unique identifier for each handle that can be used * for reconnection after network failures or server reboots. * * According to MS-SMB2, the GUID is a 16-byte structure with little-endian * byte ordering for the individual components. */ public class HandleGuid implements Serializable {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.5K bytes - Viewed (0) -
docs/SMB3_IMPLEMENTATION_PLAN.md
├── DurableHandleV2Request.java - Durable handle v2 with timeout └── HandleReconnector.java - Automatic handle reconnection ``` #### 2.2 Implementation Tasks - [ ] Implement persistent/durable handle contexts - [ ] Add handle GUID generation and tracking - [ ] Implement handle state serialization - [ ] Create reconnection logic with handle replay - [ ] Add timeout management for durable handles - [ ] Implement handle lease association
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 10.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
/** * The full path to the file or directory associated with this handle */ private final String path; /** * The create GUID used to uniquely identify this handle for reconnection */ private final HandleGuid createGuid; /** * The 16-byte file ID returned by the server for this handle */ private final byte[] fileId; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java
protected boolean performReconnection(HandleInfo info) throws Exception { if (shouldSucceed) { return true; } else { throw new IOException("Simulated reconnection failure"); } } public void testCreateReconnectionRequest(HandleInfo handle) { createReconnectionRequest(handle); } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java
* the security mode flags for the session * @param capabilities * the client capabilities * @param previousSessionid * the previous session ID for reconnection (or 0 for new session) * @param token * the security token for authentication */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
protected boolean usePersistentHandles = false; /** Timeout for durable handles in milliseconds */ protected long durableHandleTimeout = 120000; // 2 minutes /** Maximum number of retry attempts for handle reconnection */ protected int handleReconnectRetries = 3; /** Directory to store persistent handle state */ protected String handleStateDirectory; // Directory leasing configuration fields /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
// Getters and increment methods } ``` ## 12. Future Enhancements 1. **Directory Leases**: Extend lease support for directories 2. **Lease Key Persistence**: Save lease keys for reconnection 3. **Parent-Child Relationships**: Implement hierarchical leases 4. **Lease Sharing**: Support lease sharing across handlesRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
// Resource state changed - may need to reconnect log.info("Resource change detected for: {}", notification.getResourceName()); // Schedule reconnection attempt scheduleReconnection(getContext().getConfig().getWitnessReconnectDelay()); } /** * Handle client move events */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
private void handleResourceChange(WitnessNotification notification) { // Resource state changed - may need to reconnect log.info("Resource change detected for: {}", notification.getResourceName()); // Schedule reconnection attempt scheduleReconnection(1000); // 1 second delay } private void handleClientMove(WitnessNotification notification) { // Server is asking client to move to different node
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0)