public enum TcpEndPointType extends java.lang.Enum<TcpEndPointType>
Enum Constant | Description |
---|---|
DUAL |
|
INITIATING |
|
LISTENING |
Modifier and Type | Method | Description |
---|---|---|
boolean |
isInitiating() |
|
boolean |
isListening() |
|
static TcpEndPointType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static TcpEndPointType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TcpEndPointType INITIATING
public static final TcpEndPointType LISTENING
public static final TcpEndPointType DUAL
public static TcpEndPointType[] values()
for (TcpEndPointType c : TcpEndPointType.values()) System.out.println(c);
public static TcpEndPointType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isListening()
public boolean isInitiating()