Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for updateRouteDatabaseAfterSuccess (0.51 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/PoolConnectionUser.kt

     */
    object PoolConnectionUser : ConnectionUser {
      override fun addPlanToCancel(connectPlan: ConnectPlan) {
      }
    
      override fun removePlanToCancel(connectPlan: ConnectPlan) {
      }
    
      override fun updateRouteDatabaseAfterSuccess(route: Route) {
      }
    
      override fun connectStart(route: Route) {
      }
    
      override fun secureConnectStart() {
      }
    
      override fun secureConnectEnd(handshake: Handshake?) {
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 03 20:39:41 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectionUser.kt

     */
    interface ConnectionUser {
      fun addPlanToCancel(connectPlan: ConnectPlan)
    
      fun removePlanToCancel(connectPlan: ConnectPlan)
    
      fun updateRouteDatabaseAfterSuccess(route: Route)
    
      fun connectStart(route: Route)
    
      fun secureConnectStart()
    
      fun secureConnectEnd(handshake: Handshake?)
    
      fun callConnectEnd(
        route: Route,
        protocol: Protocol?,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/CallConnectionUser.kt

        call.plansToCancel += connectPlan
      }
    
      override fun removePlanToCancel(connectPlan: ConnectPlan) {
        call.plansToCancel -= connectPlan
      }
    
      override fun updateRouteDatabaseAfterSuccess(route: Route) {
        call.client.routeDatabase.connected(route)
      }
    
      override fun connectStart(route: Route) {
        eventListener.connectStart(call, route.socketAddress, route.proxy)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

          }
        }
        return null
      }
    
      /** Returns the connection to use, which might be different from [connection]. */
      override fun handleSuccess(): RealConnection {
        user.updateRouteDatabaseAfterSuccess(route)
    
        val connection = this.connection!!
        user.connectionConnectEnd(connection, route)
    
        // If we raced another call connecting to this host, coalesce the connections. This makes for
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 18.6K bytes
    - Viewed (0)
Back to top