Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 578 for reconnection (0.07 seconds)

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

                }
            });
        }
    
        /**
         * Perform the actual reconnection logic.
         * This method should be overridden by subclasses to provide the actual
         * SMB reconnection implementation.
         *
         * @param info the handle information
         * @return true if reconnection was successful
         * @throws Exception if reconnection fails
         */
    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)
  2. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

                }
                return null;
            } finally {
                lock.readLock().unlock();
            }
        }
    
        /**
         * Complete a reconnection attempt
         * @param path the file path
         * @param success true if reconnection was successful
         */
        public void completeReconnect(String path, boolean success) {
            lock.writeLock().lock();
            try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 13K bytes
    - Click Count (0)
  3. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  4. docs/smb3-features/02-persistent-handles-design.md

        }
    }
    
    // Handle network errors with automatic reconnection
    @Override
    protected void handleNetworkError(IOException e) {
        if (handleType != null && handleType != HandleType.NONE) {
            // Attempt automatic reconnection
            HandleReconnector reconnector = new HandleReconnector(handleManager);
            try {
                SmbFile reconnected = reconnector.reconnectHandle(this, e).get(5, TimeUnit.SECONDS);
    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)
  5. fastapi/sse.py

                automatic reconnection. **Must not contain null (`\\0`) characters.**
                """
            ),
        ] = None
        retry: Annotated[
            int | None,
            Field(ge=0),
            Doc(
                """
                Optional reconnection time in **milliseconds**.
    
                Tells the browser how long to wait before reconnecting after the
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  6. 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
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  7. 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 {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

        /**
         * Check if this handle is currently reconnecting
         * @return true if reconnecting
         */
        public boolean isReconnecting() {
            return reconnecting;
        }
    
        /**
         * Set the reconnecting state
         * @param reconnecting the reconnecting state
         */
        public void setReconnecting(boolean reconnecting) {
            this.reconnecting = reconnecting;
        }
    
        /**
    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/tests/persistent/HandleReconnectorTest.java

     */
    public class HandleReconnectorTest {
    
        @Mock
        private PersistentHandleManager mockManager;
    
        private HandleReconnector reconnector;
        private HandleInfo testHandle;
    
        @BeforeEach
        public void setUp() {
            MockitoAnnotations.openMocks(this);
            reconnector = new HandleReconnector(mockManager, 2, 50); // 2 retries, 50ms delay
    
            HandleGuid guid = new HandleGuid();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  10. cmd/mrf.go

    		break
    	}
    }
    
    var healSleeper = newDynamicSleeper(5, time.Second, false)
    
    // healRoutine listens to new disks reconnection events and
    // issues healing requests for queued objects belonging to the
    // corresponding erasure set
    func (m *mrfState) healRoutine(z *erasureServerPools) {
    	for {
    		select {
    		case <-GlobalContext.Done():
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 6.5K bytes
    - Click Count (0)
Back to Top