public static enum WireFormats.CommandType extends java.lang.Enum<WireFormats.CommandType> implements akka.protobuf.ProtocolMessageEnum
CommandType
Defines the type of the AkkaControlMessage command type
Enum Constant and Description |
---|
ASSOCIATE
ASSOCIATE = 1; |
DISASSOCIATE
DISASSOCIATE = 2; |
DISASSOCIATE_QUARANTINED
DISASSOCIATE_QUARANTINED = 5; |
DISASSOCIATE_SHUTTING_DOWN
DISASSOCIATE_SHUTTING_DOWN = 4; |
HEARTBEAT
HEARTBEAT = 3; |
Modifier and Type | Field and Description |
---|---|
static int |
ASSOCIATE_VALUE
ASSOCIATE = 1; |
static int |
DISASSOCIATE_QUARANTINED_VALUE
DISASSOCIATE_QUARANTINED = 5; |
static int |
DISASSOCIATE_SHUTTING_DOWN_VALUE
DISASSOCIATE_SHUTTING_DOWN = 4; |
static int |
DISASSOCIATE_VALUE
DISASSOCIATE = 2; |
static int |
HEARTBEAT_VALUE
HEARTBEAT = 3; |
Modifier and Type | Method and Description |
---|---|
static akka.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
akka.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
akka.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static akka.protobuf.Internal.EnumLiteMap<WireFormats.CommandType> |
internalGetValueMap() |
static WireFormats.CommandType |
valueOf(akka.protobuf.Descriptors.EnumValueDescriptor desc) |
static WireFormats.CommandType |
valueOf(int value) |
static WireFormats.CommandType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WireFormats.CommandType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WireFormats.CommandType ASSOCIATE
ASSOCIATE = 1;
public static final WireFormats.CommandType DISASSOCIATE
DISASSOCIATE = 2;
public static final WireFormats.CommandType HEARTBEAT
HEARTBEAT = 3;
public static final WireFormats.CommandType DISASSOCIATE_SHUTTING_DOWN
DISASSOCIATE_SHUTTING_DOWN = 4;
Remote system is going down and will not accepts new connections
public static final WireFormats.CommandType DISASSOCIATE_QUARANTINED
DISASSOCIATE_QUARANTINED = 5;
Remote system refused the association since the current system is quarantined
public static final int ASSOCIATE_VALUE
ASSOCIATE = 1;
public static final int DISASSOCIATE_VALUE
DISASSOCIATE = 2;
public static final int HEARTBEAT_VALUE
HEARTBEAT = 3;
public static final int DISASSOCIATE_SHUTTING_DOWN_VALUE
DISASSOCIATE_SHUTTING_DOWN = 4;
Remote system is going down and will not accepts new connections
public static final int DISASSOCIATE_QUARANTINED_VALUE
DISASSOCIATE_QUARANTINED = 5;
Remote system refused the association since the current system is quarantined
public static WireFormats.CommandType[] values()
for (WireFormats.CommandType c : WireFormats.CommandType.values()) System.out.println(c);
public static WireFormats.CommandType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface akka.protobuf.Internal.EnumLite
getNumber
in interface akka.protobuf.ProtocolMessageEnum
public static WireFormats.CommandType valueOf(int value)
public static akka.protobuf.Internal.EnumLiteMap<WireFormats.CommandType> internalGetValueMap()
public final akka.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface akka.protobuf.ProtocolMessageEnum
public final akka.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface akka.protobuf.ProtocolMessageEnum
public static final akka.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static WireFormats.CommandType valueOf(akka.protobuf.Descriptors.EnumValueDescriptor desc)