public enum EventFlag extends Enum<EventFlag>
Enum Constant and Description |
---|
REMOVE_EVENT |
REMOVE_SYMBOL |
SNAPSHOT_BEGIN |
SNAPSHOT_END |
SNAPSHOT_MODE |
SNAPSHOT_SNIP |
TX_PENDING |
Modifier and Type | Method and Description |
---|---|
int |
clear(int eventFlags) |
int |
flag() |
static String |
formatEventFlags(int eventFlags)
Converts integer event flags bit mask into an event flags set string.
|
static String |
formatEventFlags(int eventFlags,
MessageType messageType)
Converts integer event flags bit mask into an event flags set string.
|
static int |
getSupportedEventFlags(ProtocolOption.Set optSet,
MessageType messageType)
Returns a mask of supported event flags for a given set of protocol options and message type.
|
boolean |
in(int eventFlags) |
int |
of(boolean b) |
static int |
parseEventFlags(String s,
MessageType messageType)
Parses string set of event flags.
|
int |
set(int eventFlags) |
static EventFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventFlag TX_PENDING
public static final EventFlag REMOVE_EVENT
public static final EventFlag SNAPSHOT_BEGIN
public static final EventFlag SNAPSHOT_END
public static final EventFlag SNAPSHOT_SNIP
public static final EventFlag SNAPSHOT_MODE
public static final EventFlag REMOVE_SYMBOL
public static EventFlag[] values()
for (EventFlag c : EventFlag.values()) System.out.println(c);
public static EventFlag 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 flag()
public int of(boolean b)
public boolean in(int eventFlags)
public int set(int eventFlags)
public int clear(int eventFlags)
public static int getSupportedEventFlags(ProtocolOption.Set optSet, MessageType messageType)
optSet
- the set of protocol options.messageType
- the message type.public static String formatEventFlags(int eventFlags, MessageType messageType)
eventFlags
- event flags bit mask.messageType
- the message type.public static String formatEventFlags(int eventFlags)
eventFlags
- event flags bit mask.public static int parseEventFlags(String s, MessageType messageType)
s
- string set of event flags.messageType
- the message type.Copyright © 2002–2025 Devexperts LLC. All rights reserved.