Package edu.nps.moves.dis7.examples
Enum Class EspduSender.NetworkMode
- All Implemented Interfaces:
Serializable,Comparable<EspduSender.NetworkMode>,Constable
- Enclosing class:
EspduSender
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription(rarely used, potentially harmful) @see https://en.wikipedia.org/wiki/Broadcasting_(networking)Many to many @see https://en.wikipedia.org/wiki/MulticastPoint to point @see https://en.wikipedia.org/wiki/Unicast -
Method Summary
Modifier and TypeMethodDescriptionstatic EspduSender.NetworkModeReturns the enum constant of this class with the specified name.static EspduSender.NetworkMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNICAST
Point to point @see https://en.wikipedia.org/wiki/Unicast -
MULTICAST
Many to many @see https://en.wikipedia.org/wiki/Multicast -
BROADCAST
(rarely used, potentially harmful) @see https://en.wikipedia.org/wiki/Broadcasting_(networking)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-