Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 467 for reconnection (0.3 sec)

  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
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  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 {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  5. 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;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  6. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. 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();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. 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():
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. 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)
Back to top