- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for removePlanToCancel (0.08 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectionUser.kt
import okhttp3.Route /** * The object that is asking for a connection. Either a call or a connect policy from the pool. */ interface ConnectionUser { fun addPlanToCancel(connectPlan: ConnectPlan) fun removePlanToCancel(connectPlan: ConnectPlan) fun updateRouteDatabaseAfterSuccess(route: Route) fun connectStart(route: Route) fun secureConnectStart() fun secureConnectEnd(handshake: Handshake?)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/PoolConnectionUser.kt
* without an intent to immediately use them. */ 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() { }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/CallConnectionUser.kt
private val eventListener: EventListener get() = call.eventListener override fun addPlanToCancel(connectPlan: ConnectPlan) { call.plansToCancel += connectPlan } override fun removePlanToCancel(connectPlan: ConnectPlan) { call.plansToCancel -= connectPlan } override fun updateRouteDatabaseAfterSuccess(route: Route) { call.client.routeDatabase.connected(route) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 4.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
route.proxy.address(), e, ) } user.connectFailed(route, null, e) return ConnectResult(plan = this, throwable = e) } finally { user.removePlanToCancel(this) if (!success) { rawSocket?.closeQuietly() } } } override fun connectTlsEtc(): ConnectResult { val rawSocket = requireNotNull(rawSocket) { "TCP not connected" }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.6K bytes - Viewed (0)