Enum Class AcknowledgeType
- All Implemented Interfaces:
Serializable
,Comparable<AcknowledgeType>
,Constable
The
AcknowledgeType
defines the type of an AcknowledgeMessage
confirmation mode in response to a TransmissionMessage
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionSent when a transmission was received.Identifies a a fire-and-forget pong (not to be acknowledged) reply in response to a simple ping request.Sent when a request was received but dismissed by a receiver .A request is acknowledged by a response which in turn is acknowledged.Sent in case a transmission was received and dismissed by a receiver. -
Method Summary
Modifier and TypeMethodDescriptionstatic AcknowledgeType
Returns the enum constant of this class with the specified name.static AcknowledgeType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACKNOWLEDGE
Sent when a transmission was received. -
TRANSMISSION_DISMISSED
Sent in case a transmission was received and dismissed by a receiver. -
RESPONSE
A request is acknowledged by a response which in turn is acknowledged. -
REQUEST_DISMISSED
Sent when a request was received but dismissed by a receiver . -
PONG
Identifies a a fire-and-forget pong (not to be acknowledged) reply in response to a simple ping request.
-
-
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
-