fabric.messages
Enum Message.MessageType
java.lang.Object
java.lang.Enum<Message.MessageType>
fabric.messages.Message.MessageType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Message.MessageType>
- Enclosing class:
- Message<N extends RemoteNode,R extends Message.Response>
protected static enum Message.MessageType
- extends java.lang.Enum<Message.MessageType>
Method Summary |
static Message.MessageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Message.MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ALLOCATE_ONUMS
public static final Message.MessageType ALLOCATE_ONUMS
READ_ONUM
public static final Message.MessageType READ_ONUM
PREPARE_TRANSACTION
public static final Message.MessageType PREPARE_TRANSACTION
COMMIT_TRANSACTION
public static final Message.MessageType COMMIT_TRANSACTION
ABORT_TRANSACTION
public static final Message.MessageType ABORT_TRANSACTION
DISSEM_READ_ONUM
public static final Message.MessageType DISSEM_READ_ONUM
REMOTE_CALL
public static final Message.MessageType REMOTE_CALL
INTERWORKER_READ
public static final Message.MessageType INTERWORKER_READ
TAKE_OWNERSHIP
public static final Message.MessageType TAKE_OWNERSHIP
GET_PRINCIPAL
public static final Message.MessageType GET_PRINCIPAL
OBJECT_UPDATE
public static final Message.MessageType OBJECT_UPDATE
UNAUTHENTICATED_PREPARE_TRANSACTION
public static final Message.MessageType UNAUTHENTICATED_PREPARE_TRANSACTION
UNAUTHENTICATED_COMMIT_TRANSACTION
public static final Message.MessageType UNAUTHENTICATED_COMMIT_TRANSACTION
UNAUTHENTICATED_ABORT_TRANSACTION
public static final Message.MessageType UNAUTHENTICATED_ABORT_TRANSACTION
GET_CERT_CHAIN
public static final Message.MessageType GET_CERT_CHAIN
STALENESS_CHECK
public static final Message.MessageType STALENESS_CHECK
INTERWORKER_STALENESS_CHECK
public static final Message.MessageType INTERWORKER_STALENESS_CHECK
values
public static Message.MessageType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Message.MessageType c : Message.MessageType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Message.MessageType valueOf(java.lang.String name)
- 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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null