- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for removePlanToCancel (0.27 sec)
-
okhttp/src/main/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Mar 06 17:33:38 UTC 2024 - 3.6K bytes - Viewed (0) -
okhttp/src/main/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 2.2K bytes - Viewed (0) -
okhttp/src/main/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 03 20:39:41 UTC 2024 - 2.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt
return ConnectResult(plan = this) } catch (e: IOException) { user.connectFailed(route, null, e) return ConnectResult(plan = this, throwable = e) } finally { user.removePlanToCancel(this) if (!success) { rawSocket?.closeQuietly() } } } override fun connectTlsEtc(): ConnectResult { check(rawSocket != null) { "TCP not connected" }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 18.6K bytes - Viewed (0)