ChildSessionConfiguration
public
final
class
ChildSessionConfiguration
extends Object
java.lang.Object | |
↳ | android.net.ipsec.ike.ChildSessionConfiguration |
ChildSessionConfiguration represents the negotiated configuration for a Child Session.
Configurations include traffic selectors and internal network information.
Summary
Nested classes | |
---|---|
class |
ChildSessionConfiguration.Builder
This class can be used to incrementally construct a |
Public methods | |
---|---|
List<IkeTrafficSelector>
|
getInboundTrafficSelectors()
Returns the negotiated inbound traffic selectors. |
List<IkeTrafficSelector>
|
getOutboundTrafficSelectors()
Returns the negotiated outbound traffic selectors. |
Inherited methods | |
---|---|
Public methods
getInboundTrafficSelectors
public List<IkeTrafficSelector> getInboundTrafficSelectors ()
Returns the negotiated inbound traffic selectors.
Only inbound traffic within the range is acceptable to the Child Session.
The Android platform does not support port-based routing. Port ranges of traffic selectors are only informational.
Returns | |
---|---|
List<IkeTrafficSelector> |
the inbound traffic selectors.
This value cannot be null . |
getOutboundTrafficSelectors
public List<IkeTrafficSelector> getOutboundTrafficSelectors ()
Returns the negotiated outbound traffic selectors.
Only outbound traffic within the range is acceptable to the Child Session.
The Android platform does not support port-based routing. Port ranges of traffic selectors are only informational.
Returns | |
---|---|
List<IkeTrafficSelector> |
the outbound traffic selectors.
This value cannot be null . |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-11 UTC.