Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 467 for reconnection (0.09 sec)

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  2. 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 handles
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/Configuration.java

         */
        long getDurableHandleTimeout();
    
        /**
         * Property {@code jcifs.smb.client.handleReconnectRetries}, defaults to 3
         *
         * @return maximum number of retry attempts for handle reconnection
         */
        int getHandleReconnectRetries();
    
        /**
         * Enable SMB3 Multi-Channel support
         *
         * Property {@code jcifs.smb.client.useMultiChannel} (boolean, default true)
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  5. docs/smb3-features/06-witness-protocol-design.md

        if (witnessClient != null) {
            witnessClient.close();
        }
        super.logoff();
    }
    ```
    
    ### 5.2 Tree Connection Integration
    ```java
    // In SmbTree.java
    public void connectWithWitnessSupport() throws IOException {
        // Perform normal tree connection
        super.connect();
        
        // Register for witness notifications for this share
        if (session.isWitnessEnabled()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

    import okhttp3.internal.tls.OkHostnameVerifier
    import okio.Buffer
    
    /**
     * A connection to a remote web server capable of carrying 1 or more concurrent streams.
     *
     * Connections are shared in a connection pool. Accesses to the connection's state must be guarded
     * by holding a lock on the connection.
     */
    class RealConnection internal constructor(
      val taskRunner: TaskRunner,
      val connectionPool: RealConnectionPool,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Connection.kt

     */
    interface Connection {
      /** Returns the route used by this connection. */
      fun route(): Route
    
      /**
       * Returns the socket that this connection is using. Returns an
       * [SSL socket][javax.net.ssl.SSLSocket] if this connection is HTTPS. If this is an HTTP/2
       * connection the socket may be shared by multiple concurrent calls.
       */
      fun socket(): Socket
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

        pool: ConnectionPool,
        connection: RealConnection,
      ) {
        val client =
          OkHttpClient
            .Builder()
            .connectionPool(pool)
            .build()
        val call = client.newCall(Request(connection.route().address.url)) as RealCall
        call.enterNetworkInterceptorExchange(call.request(), true, factory.newChain(call))
        connection.withLock { call.acquireConnectionNoEvents(connection) }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt

    import java.io.Closeable
    import java.io.IOException
    import java.util.concurrent.LinkedBlockingDeque
    import okhttp3.internal.concurrent.TaskFaker
    import okhttp3.internal.connection.RealConnection
    import okhttp3.internal.connection.RoutePlanner
    import okhttp3.internal.connection.RoutePlanner.ConnectResult
    
    class FakeRoutePlanner(
      val factory: TestValueFactory = TestValueFactory(),
      val taskFaker: TaskFaker = factory.taskFaker,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

    import okhttp3.internal.concurrent.withLock
    import okhttp3.internal.connection.CallConnectionUser
    import okhttp3.internal.connection.ConnectionListener
    import okhttp3.internal.connection.FastFallbackExchangeFinder
    import okhttp3.internal.connection.RealCall
    import okhttp3.internal.connection.RealConnection
    import okhttp3.internal.connection.RealConnectionPool
    import okhttp3.internal.connection.RealRoutePlanner
    import okhttp3.internal.connection.RouteDatabase
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top