public static enum CommonOptions.ConnectionType extends java.lang.Enum<CommonOptions.ConnectionType>
Enum Constant and Description |
---|
DATAGRAM |
DATAGRAM_STATELESS |
MULTICAST |
POINT |
STREAM |
Modifier and Type | Method and Description |
---|---|
static CommonOptions.ConnectionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommonOptions.ConnectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommonOptions.ConnectionType STREAM
public static final CommonOptions.ConnectionType DATAGRAM
public static final CommonOptions.ConnectionType DATAGRAM_STATELESS
public static final CommonOptions.ConnectionType POINT
public static final CommonOptions.ConnectionType MULTICAST
public static CommonOptions.ConnectionType[] values()
for (CommonOptions.ConnectionType c : CommonOptions.ConnectionType.values()) System.out.println(c);
public static CommonOptions.ConnectionType 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 null