|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ILnkPeerEndpoint.State>
com.neeve.link.ILnkPeerEndpoint.State
public static enum ILnkPeerEndpoint.State
Specifies the peer endpoint states.
Enum Constant Summary | |
---|---|
CLOSED
Indicates that the endpoint has closed. |
|
CLOSING
Indicates that the endpoint is closing i.e. the endpoint close machinery has been kicked off by ILnkPeerEndpoint.close(short)
but there is some endpoint operation (e.g. flush or read) that
to be completed before the endpoint can transition the endpoint
state to CLOSED . |
|
CONNECTED
Indicates that the link endpoint is connected and operational. |
|
FAILED
Indicates that the local endpoint has detected that the endpoint's peer has failed. |
Method Summary | |
---|---|
static ILnkPeerEndpoint.State |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ILnkPeerEndpoint.State[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ILnkPeerEndpoint.State CONNECTED
public static final ILnkPeerEndpoint.State FAILED
public static final ILnkPeerEndpoint.State CLOSING
ILnkPeerEndpoint.close(short)
but there is some endpoint operation (e.g. flush or read) that
to be completed before the endpoint can transition the endpoint
state to CLOSED
.
ILnkPeerEndpoint.close(short)
public static final ILnkPeerEndpoint.State CLOSED
Method Detail |
---|
public static ILnkPeerEndpoint.State[] values()
for (ILnkPeerEndpoint.State c : ILnkPeerEndpoint.State.values()) System.out.println(c);
public static ILnkPeerEndpoint.State valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |