Enum Class ProxyOp
- All Implemented Interfaces:
Serializable
,Comparable<ProxyOp>
,Constable
Message codes used in proxy operations.
- Author:
- Donal Fellows
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAsk for a channel (created withOPEN
orOPEN_UNCONNECTED
) to be closed.A message, only ever sent in response toOPEN
,CLOSE
, orOPEN_UNCONNECTED
, that says that an operation failed.A message going to or from a board.A message going to a board on a channel which does not have a SpiNNaker board target address set up already (OPEN_UNCONNECTED
).Ask for a bidirectional channel to a board to be opened.Ask for a bidirectional channel from all boards to be opened. -
Method Summary
-
Enum Constant Details
-
OPEN
Ask for a bidirectional channel to a board to be opened. Also the response to such a request when successful. -
CLOSE
Ask for a channel (created withOPEN
orOPEN_UNCONNECTED
) to be closed. Also the response to such a request when successful. -
MESSAGE
A message going to or from a board. Channel must be open already. When going to a board, the channel must have been opened withOPEN
, and thus be already bound. -
OPEN_UNCONNECTED
Ask for a bidirectional channel from all boards to be opened. Also the response to such a request when successful. The difference is that this reports the real listening IP address and port in the response message. (This is closed with aCLOSE
message.) Sending is only possible on this channel withMESSAGE_TO
(because no target address is set by default). -
MESSAGE_TO
A message going to a board on a channel which does not have a SpiNNaker board target address set up already (OPEN_UNCONNECTED
). -
ERROR
A message, only ever sent in response toOPEN
,CLOSE
, orOPEN_UNCONNECTED
, that says that an operation failed.
-
-
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
-