public enum MessageType extends Enum<MessageType>
| Enum Constant and Description |
|---|
GQL_COMPLETE |
GQL_CONNECTION_ACK |
GQL_CONNECTION_ERROR |
GQL_CONNECTION_INIT |
GQL_CONNECTION_KEEP_ALIVE |
GQL_CONNECTION_TERMINATE |
GQL_DATA |
GQL_ERROR |
GQL_START |
GQL_STOP |
| Modifier and Type | Method and Description |
|---|---|
String |
asString() |
static MessageType |
fromString(String text) |
static MessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageType GQL_CONNECTION_INIT
public static final MessageType GQL_START
public static final MessageType GQL_STOP
public static final MessageType GQL_CONNECTION_TERMINATE
public static final MessageType GQL_CONNECTION_ERROR
public static final MessageType GQL_CONNECTION_ACK
public static final MessageType GQL_DATA
public static final MessageType GQL_ERROR
public static final MessageType GQL_COMPLETE
public static final MessageType GQL_CONNECTION_KEEP_ALIVE
public static MessageType[] values()
for (MessageType c : MessageType.values()) System.out.println(c);
public static MessageType 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 MessageType fromString(String text)
public String asString()
Copyright © 2018–2022. All rights reserved.