Package tbdex.sdk.messages
Enum MessageKind
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum MessageKind extends Enum<MessageKind>
Represents the different kinds of messages in the tbDEX protocol.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classMessageKind.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Integerordinalprivate final EnumEntries<MessageKind>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description RFQQUOTEORDERORDER_INSTRUCTIONSCANCELORDER_STATUSCLOSE
-
Method Summary
Modifier and Type Method Description final MessageKindvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<MessageKind>values()Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<MessageKind>getEntries()Represents the different kinds of messages in the tbDEX protocol. -
-
Method Detail
-
valueOf
final MessageKind valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<MessageKind> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<MessageKind> getEntries()
Represents the different kinds of messages in the tbDEX protocol.
-
-
-
-