akka.remote
Enum RemoteProtocol.CommandType
java.lang.Object
java.lang.Enum<RemoteProtocol.CommandType>
akka.remote.RemoteProtocol.CommandType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<RemoteProtocol.CommandType>
- Enclosing class:
- RemoteProtocol
public static enum RemoteProtocol.CommandType
- extends java.lang.Enum<RemoteProtocol.CommandType>
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 |
CONNECT
public static final RemoteProtocol.CommandType CONNECT
SHUTDOWN
public static final RemoteProtocol.CommandType SHUTDOWN
HEARTBEAT
public static final RemoteProtocol.CommandType HEARTBEAT
CONNECT_VALUE
public static final int CONNECT_VALUE
- See Also:
- Constant Field Values
SHUTDOWN_VALUE
public static final int SHUTDOWN_VALUE
- See Also:
- Constant Field Values
HEARTBEAT_VALUE
public static final int HEARTBEAT_VALUE
- See Also:
- Constant Field Values
values
public static RemoteProtocol.CommandType[] 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 (RemoteProtocol.CommandType c : RemoteProtocol.CommandType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RemoteProtocol.CommandType 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
getNumber
public final int getNumber()
valueOf
public static RemoteProtocol.CommandType valueOf(int value)
internalGetValueMap
public static internalGetValueMap()
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
valueOf
public static RemoteProtocol.CommandType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)