public static enum DOFRequest.Type extends java.lang.Enum<DOFRequest.Type>
Enum Constant and Description |
---|
BROADCAST
When a single device is transmitting a message to all other devices in a given address range.
|
MULTICAST
Indicates a multicast connection.
|
UNICAST
Indicates a streaming or datagram connection that is directed to a specific address.
|
Modifier and Type | Method and Description |
---|---|
static DOFRequest.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DOFRequest.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DOFRequest.Type UNICAST
public static final DOFRequest.Type BROADCAST
public static final DOFRequest.Type MULTICAST
public static DOFRequest.Type[] values()
for (DOFRequest.Type c : DOFRequest.Type.values()) System.out.println(c);
public static DOFRequest.Type 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