Enum Class GatherProtocolMessage.ID
java.lang.Object
java.lang.Enum<GatherProtocolMessage.ID>
uk.ac.manchester.spinnaker.protocols.download.GatherProtocolMessage.ID
- All Implemented Interfaces:
Serializable
,Comparable<GatherProtocolMessage.ID>
,Constable
- Enclosing class:
- GatherProtocolMessage
The various IDs of messages used in the fast download protocol.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionID of the clear message used to stop the extra monitor transmitting.ID of message used to send more missing sequence numbers.ID of message used to start sending missing sequence numbers.ID of message used to start sending data. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic GatherProtocolMessage.ID
Returns the enum constant of this class with the specified name.static GatherProtocolMessage.ID[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
START_SENDING_DATA
ID of message used to start sending data. -
START_MISSING_SEQS
ID of message used to start sending missing sequence numbers. -
NEXT_MISSING_SEQS
ID of message used to send more missing sequence numbers. -
CLEAR_TRANSMISSIONS
ID of the clear message used to stop the extra monitor transmitting.
-
-
Field Details
-
value
public final int valueThe value of the ID.
-
-
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
-