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

public static enum GatherProtocolMessage.ID extends Enum<GatherProtocolMessage.ID>
The various IDs of messages used in the fast download protocol.
  • Enum Constant Details

    • START_SENDING_DATA

      public static final GatherProtocolMessage.ID START_SENDING_DATA
      ID of message used to start sending data.
    • START_MISSING_SEQS

      public static final GatherProtocolMessage.ID START_MISSING_SEQS
      ID of message used to start sending missing sequence numbers.
    • NEXT_MISSING_SEQS

      public static final GatherProtocolMessage.ID NEXT_MISSING_SEQS
      ID of message used to send more missing sequence numbers.
    • CLEAR_TRANSMISSIONS

      public static final GatherProtocolMessage.ID CLEAR_TRANSMISSIONS
      ID of the clear message used to stop the extra monitor transmitting.
  • Field Details

    • value

      public final int value
      The value of the ID.
  • Method Details

    • values

      public static GatherProtocolMessage.ID[] 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

      public static GatherProtocolMessage.ID valueOf(String name)
      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 name
      NullPointerException - if the argument is null