Compartir a través de


IkeTrafficSelector(Int32, Int32, InetAddress, InetAddress) Constructor

Definition

Construct an instance of IkeTrafficSelector for negotiating a Child Session.

[Android.Runtime.Register(".ctor", "(IILjava/net/InetAddress;Ljava/net/InetAddress;)V", "", ApiSince=31)]
public IkeTrafficSelector (int startPort, int endPort, Java.Net.InetAddress startingAddress, Java.Net.InetAddress endingAddress);
[<Android.Runtime.Register(".ctor", "(IILjava/net/InetAddress;Ljava/net/InetAddress;)V", "", ApiSince=31)>]
new Android.Net.IpSec.Ike.IkeTrafficSelector : int * int * Java.Net.InetAddress * Java.Net.InetAddress -> Android.Net.IpSec.Ike.IkeTrafficSelector

Parameters

startPort
Int32

the smallest port number allowed by this Traffic Selector.

endPort
Int32

the largest port number allowed by this Traffic Selector.

startingAddress
InetAddress

the smallest address included in this Traffic Selector.

endingAddress
InetAddress

the largest address included in this Traffic Selector.

Attributes

Remarks

Construct an instance of IkeTrafficSelector for negotiating a Child Session.

Android platform does not support port-based routing. The port range negotiation is only informational.

Java documentation for android.net.ipsec.ike.IkeTrafficSelector.IkeTrafficSelector(int, int, java.net.InetAddress, java.net.InetAddress).

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