public enum WebsocketServiceMessageContent extends java.lang.Enum<WebsocketServiceMessageContent>
| Enum Constant and Description |
|---|
AckMessage |
KeepAliveMessage |
OpenMessage |
| Modifier and Type | Field and Description |
|---|---|
CanisterAckMessageContent |
ackValue |
ClientKeepAliveMessageContent |
keepAliveValue |
CanisterOpenMessageContent |
openValue |
| Modifier and Type | Method and Description |
|---|---|
static WebsocketServiceMessageContent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WebsocketServiceMessageContent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebsocketServiceMessageContent OpenMessage
public static final WebsocketServiceMessageContent AckMessage
public static final WebsocketServiceMessageContent KeepAliveMessage
@Name(value="OpenMessage") @Field(value=RECORD) public CanisterOpenMessageContent openValue
@Name(value="AckMessage") @Field(value=RECORD) public CanisterAckMessageContent ackValue
@Name(value="KeepAliveMessage") @Field(value=RECORD) public ClientKeepAliveMessageContent keepAliveValue
public static WebsocketServiceMessageContent[] values()
for (WebsocketServiceMessageContent c : WebsocketServiceMessageContent.values()) System.out.println(c);
public static WebsocketServiceMessageContent 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 null