# Print output for @column tags ?>
public
final
class
IkeTrafficSelector
extends Object
| java.lang.Object | |
| ↳ | android.net.ipsec.ike.IkeTrafficSelector |
IkeTrafficSelector represents a Traffic Selector of a Child Session.
Traffic Selectors specify addresses that are acceptable within the IPsec SA.
Callers can propose IkeTrafficSelectors when building a ChildSessionParams and
receive the negotiated IkeTrafficSelectors via a ChildSessionConfiguration.
Fields | |
|---|---|
public
final
int |
endPort
The largest port number allowed by this Traffic Selector. |
public
final
InetAddress |
endingAddress
The largest address included in this Traffic Selector. |
public
final
int |
startPort
The smallest port number allowed by this Traffic Selector. |
public
final
InetAddress |
startingAddress
The smallest address included in this Traffic Selector. |
Public constructors | |
|---|---|
IkeTrafficSelector(int startPort, int endPort, InetAddress startingAddress, InetAddress endingAddress)
Construct an instance of |
|
Inherited methods | |
|---|---|
public final int endPort
The largest port number allowed by this Traffic Selector. Informational only.
public final InetAddress endingAddress
The largest address included in this Traffic Selector.
public final int startPort
The smallest port number allowed by this Traffic Selector. Informational only.
public final InetAddress startingAddress
The smallest address included in this Traffic Selector.
public IkeTrafficSelector (int startPort,
int endPort,
InetAddress startingAddress,
InetAddress endingAddress)
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.
| Parameters | |
|---|---|
startPort |
int: the smallest port number allowed by this Traffic Selector. |
endPort |
int: the largest port number allowed by this Traffic Selector. |
startingAddress |
InetAddress: the smallest address included in this Traffic Selector.
This value cannot be null. |
endingAddress |
InetAddress: the largest address included in this Traffic Selector.
This value cannot be null. |