Enum ProxyOp
- All Implemented Interfaces:
Serializable
,Comparable<ProxyOp>
public enum ProxyOp extends Enum<ProxyOp>
Message codes used in proxy operations.
- Author:
- Donal Fellows
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOSE
Ask for a channel (created withOPEN
orOPEN_UNCONNECTED
) to be closed.ERROR
A message, only ever sent in response toOPEN
,CLOSE
, orOPEN_UNCONNECTED
, that says that an operation failed.MESSAGE
A message going to or from a board.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
).OPEN
Ask for a bidirectional channel to a board to be opened.OPEN_UNCONNECTED
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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-