public enum EventType extends Enum<EventType>
| Enum Constant and Description |
|---|
AuthError |
NumOfConnExceed |
Order |
Ping |
Position |
SubscribeExpired |
SubscribeSuccess |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
static boolean |
isTradeEvent(int code) |
static EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventType SubscribeSuccess
public static final EventType Ping
public static final EventType AuthError
public static final EventType NumOfConnExceed
public static final EventType SubscribeExpired
public static final EventType Order
public static final EventType Position
public static EventType[] values()
for (EventType c : EventType.values()) System.out.println(c);
public static EventType 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 getCode()
public static boolean isTradeEvent(int code)
Copyright © 2025 Webull. All rights reserved.