akka.remote
Enum RemoteProtocol.CommandType

java.lang.Object
  extended by java.lang.Enum<RemoteProtocol.CommandType>
      extended by 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>


Enum Constant Summary
CONNECT
           
HEARTBEAT
           
SHUTDOWN
           
 
Field Summary
static int CONNECT_VALUE
           
static int HEARTBEAT_VALUE
           
static int SHUTDOWN_VALUE
           
 
Method Summary
static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
           
 com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
           
 int getNumber()
           
 com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
           
static  internalGetValueMap()
           
static RemoteProtocol.CommandType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
           
static RemoteProtocol.CommandType valueOf(int value)
           
static RemoteProtocol.CommandType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RemoteProtocol.CommandType[] 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
 

Enum Constant Detail

CONNECT

public static final RemoteProtocol.CommandType CONNECT

SHUTDOWN

public static final RemoteProtocol.CommandType SHUTDOWN

HEARTBEAT

public static final RemoteProtocol.CommandType HEARTBEAT
Field Detail

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
Method Detail

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)