@Deprecated public enum ApolloWSMessageType extends Enum<ApolloWSMessageType>
ApolloWSMessage
types.Enum Constant and Description |
---|
COMPLETE
Deprecated.
|
CONNECTION_ACK
Deprecated.
|
CONNECTION_ERROR
Deprecated.
|
CONNECTION_INIT
Deprecated.
|
CONNECTION_KEEP_ALIVE
Deprecated.
|
CONNECTION_TERMINATE
Deprecated.
|
DATA
Deprecated.
|
ERROR
Deprecated.
|
START
Deprecated.
|
STOP
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ApolloWSMessageType |
from(String type)
Deprecated.
Get an
ApolloWSMessageType from its text representation. |
String |
getText()
Deprecated.
|
static ApolloWSMessageType |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static ApolloWSMessageType[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApolloWSMessageType CONNECTION_INIT
public static final ApolloWSMessageType CONNECTION_TERMINATE
public static final ApolloWSMessageType START
public static final ApolloWSMessageType STOP
public static final ApolloWSMessageType CONNECTION_ACK
public static final ApolloWSMessageType CONNECTION_ERROR
public static final ApolloWSMessageType CONNECTION_KEEP_ALIVE
public static final ApolloWSMessageType DATA
public static final ApolloWSMessageType ERROR
public static final ApolloWSMessageType COMPLETE
public static ApolloWSMessageType[] values()
for (ApolloWSMessageType c : ApolloWSMessageType.values()) System.out.println(c);
public static ApolloWSMessageType 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 String getText()
ApolloWSMessage
public static ApolloWSMessageType from(String type)
ApolloWSMessageType
from its text representation.type
- the message type text representationCopyright © 2024 Eclipse. All rights reserved.