Package org.apache.qpid.proton.engine
Enum Event.Type
- All Implemented Interfaces:
Serializable
,Comparable<Event.Type>
,EventType
- Enclosing interface:
Event
Event types built into the library.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis value must never be used to generate an event, it's only used as a guard when casting custom EventTypes to coreEvent.Type
viaEvent.getType()
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
isValid()
static Event.Type
Returns the enum constant of this type with the specified name.static Event.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
REACTOR_INIT
-
REACTOR_QUIESCED
-
REACTOR_FINAL
-
TIMER_TASK
-
CONNECTION_INIT
-
CONNECTION_BOUND
-
CONNECTION_UNBOUND
-
CONNECTION_LOCAL_OPEN
-
CONNECTION_REMOTE_OPEN
-
CONNECTION_LOCAL_CLOSE
-
CONNECTION_REMOTE_CLOSE
-
CONNECTION_FINAL
-
SESSION_INIT
-
SESSION_LOCAL_OPEN
-
SESSION_REMOTE_OPEN
-
SESSION_LOCAL_CLOSE
-
SESSION_REMOTE_CLOSE
-
SESSION_FINAL
-
LINK_INIT
-
LINK_LOCAL_OPEN
-
LINK_REMOTE_OPEN
-
LINK_LOCAL_DETACH
-
LINK_REMOTE_DETACH
-
LINK_LOCAL_CLOSE
-
LINK_REMOTE_CLOSE
-
LINK_FLOW
-
LINK_FINAL
-
DELIVERY
-
TRANSPORT
-
TRANSPORT_ERROR
-
TRANSPORT_HEAD_CLOSED
-
TRANSPORT_TAIL_CLOSED
-
TRANSPORT_CLOSED
-
SELECTABLE_INIT
-
SELECTABLE_UPDATED
-
SELECTABLE_READABLE
-
SELECTABLE_WRITABLE
-
SELECTABLE_EXPIRED
-
SELECTABLE_ERROR
-
SELECTABLE_FINAL
-
NON_CORE_EVENT
This value must never be used to generate an event, it's only used as a guard when casting custom EventTypes to coreEvent.Type
viaEvent.getType()
.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
isValid
public boolean isValid()- Specified by:
isValid
in interfaceEventType
- Returns:
- false if this particular EventType instance does not represent a
real event type but a guard value, example: extra enum value for
switch statements, see
NON_CORE_EVENT
-