public enum MessageFlags extends Enum<MessageFlags>
| Enum Constant and Description |
|---|
ConnectionAccepted |
TerminateStream |
| Modifier and Type | Method and Description |
|---|---|
int |
getByteValue() |
static MessageFlags |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageFlags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageFlags ConnectionAccepted
public static final MessageFlags TerminateStream
public static MessageFlags[] values()
for (MessageFlags c : MessageFlags.values()) System.out.println(c);
public static MessageFlags 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 int getByteValue()
Copyright © 2021. All rights reserved.