public enum VpnStatus
- Object
- Enum<VpnStatus>
- VpnStatus
ImplementsComparable<VpnStatus>
Where a VPN connection is in its life. The ordinals cross the SPI
boundary, so existing constants must not be reordered.
Enum constants
NOT_CONFIGURED | No configuration is installed, so there is nothing to connect. |
DISCONNECTED | Configured, but not connected. |
CONNECTING | Negotiating. |
CONNECTED | Up and carrying traffic. |
DISCONNECTING | Tearing down. |
WAITING | Configured and waiting for a rule to bring it up – an on-demand profile that has not been triggered yet. |
UNKNOWN | The platform did not say. |
Methods
public static VpnStatus[] values() | |
public static VpnStatus valueOf(String name) |
Inherited methods
Enum constant details
NOT_CONFIGURED
NOT_CONFIGUREDNo configuration is installed, so there is nothing to connect.
DISCONNECTED
DISCONNECTEDConfigured, but not connected.
CONNECTING
CONNECTINGNegotiating.
CONNECTED
CONNECTEDUp and carrying traffic.
DISCONNECTING
DISCONNECTINGTearing down.
WAITING
WAITINGConfigured and waiting for a rule to bring it up – an on-demand
profile that has not been triggered yet.
UNKNOWN
UNKNOWNThe platform did not say.
Method details
values
public static VpnStatus[] values()valueOf
public static VpnStatus valueOf(String name)