public enum CommunicationConnectorErrorCode extends Enum<CommunicationConnectorErrorCode>
Enum Constant and Description |
---|
CHANNEL_INIT_ERROR |
CHANNEL_NOT_FOUND
This error code means that the JGroup cluster (e.g. the channel in uAAL
jargon) destination has not been found among our JGroups cluster that we
are joined to
|
MULTIPLE_RECEIVERS
This error code means that we are trying to perform and unicast
communication, but the message contains multiple receivers
|
NEW_CHANNEL_ERROR |
NO_CHANNEL_SPECIFIED
This error code means that the message that we are trying to send does
not contain the name of the JGroup cluster (e.g. the channel in uAAL
jargon) where JGroups has to push the message
|
NOT_CONNECTED_TO_CHANNEL
This error code means that we are not connected to the JGroup cluster
(e.g. the channel in uAAL jargon) destination
|
RECEIVER_NOT_EXISTS
This error code means that the message was not sent because the
destination of the message was not found among the member of the JGroups
cluster (e.g. the channel in uAAL jargon)
|
SEND_MESSAGE_ERROR |
Modifier and Type | Method and Description |
---|---|
static CommunicationConnectorErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommunicationConnectorErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommunicationConnectorErrorCode NEW_CHANNEL_ERROR
public static final CommunicationConnectorErrorCode SEND_MESSAGE_ERROR
public static final CommunicationConnectorErrorCode CHANNEL_INIT_ERROR
public static final CommunicationConnectorErrorCode RECEIVER_NOT_EXISTS
public static final CommunicationConnectorErrorCode NO_CHANNEL_SPECIFIED
public static final CommunicationConnectorErrorCode MULTIPLE_RECEIVERS
public static final CommunicationConnectorErrorCode CHANNEL_NOT_FOUND
public static final CommunicationConnectorErrorCode NOT_CONNECTED_TO_CHANNEL
public static CommunicationConnectorErrorCode[] values()
for (CommunicationConnectorErrorCode c : CommunicationConnectorErrorCode.values()) System.out.println(c);
public static CommunicationConnectorErrorCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2015 universAAL Consortium. All Rights Reserved.