共用方式為


BasicRouteDirector.DirectStep(IRouteInfo, IRouteInfo) Method

Definition

Determines the next step to establish a direct connection.

[Android.Runtime.Register("directStep", "(Lorg/apache/http/conn/routing/RouteInfo;Lorg/apache/http/conn/routing/RouteInfo;)I", "GetDirectStep_Lorg_apache_http_conn_routing_RouteInfo_Lorg_apache_http_conn_routing_RouteInfo_Handler")]
protected virtual int DirectStep (Org.Apache.Http.Conn.Routing.IRouteInfo? plan, Org.Apache.Http.Conn.Routing.IRouteInfo? fact);
[<Android.Runtime.Register("directStep", "(Lorg/apache/http/conn/routing/RouteInfo;Lorg/apache/http/conn/routing/RouteInfo;)I", "GetDirectStep_Lorg_apache_http_conn_routing_RouteInfo_Lorg_apache_http_conn_routing_RouteInfo_Handler")>]
abstract member DirectStep : Org.Apache.Http.Conn.Routing.IRouteInfo * Org.Apache.Http.Conn.Routing.IRouteInfo -> int
override this.DirectStep : Org.Apache.Http.Conn.Routing.IRouteInfo * Org.Apache.Http.Conn.Routing.IRouteInfo -> int

Parameters

plan
IRouteInfo

the planned route

fact
IRouteInfo

the currently established route

Returns

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to