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