public enum RequestMessageType extends Enum<RequestMessageType> implements Message
| Enum Constant and Description |
|---|
CORE_SNAPSHOT |
STORE |
STORE_ID |
TX_PULL_REQUEST |
UNKNOWN |
CURRENT_VERSION| Modifier and Type | Method and Description |
|---|---|
static RequestMessageType |
from(byte b) |
byte |
messageType() |
String |
toString() |
static RequestMessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestMessageType TX_PULL_REQUEST
public static final RequestMessageType STORE
public static final RequestMessageType CORE_SNAPSHOT
public static final RequestMessageType STORE_ID
public static final RequestMessageType UNKNOWN
public static RequestMessageType[] values()
for (RequestMessageType c : RequestMessageType.values()) System.out.println(c);
public static RequestMessageType 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 nullpublic static RequestMessageType from(byte b)
public byte messageType()
public String toString()
toString in class Enum<RequestMessageType>Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.