public static enum Event.Type extends Enum<Event.Type>
Enum Constant and Description |
---|
CONNECTION_LOCAL_STATE |
CONNECTION_REMOTE_STATE |
DELIVERY |
LINK_FLOW |
LINK_LOCAL_STATE |
LINK_REMOTE_STATE |
SESSION_LOCAL_STATE |
SESSION_REMOTE_STATE |
TRANSPORT |
Modifier and Type | Method and Description |
---|---|
Event.Category |
getCategory() |
static Event.Type |
valueOf(String name)
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.
|
public static final Event.Type CONNECTION_REMOTE_STATE
public static final Event.Type CONNECTION_LOCAL_STATE
public static final Event.Type SESSION_REMOTE_STATE
public static final Event.Type SESSION_LOCAL_STATE
public static final Event.Type LINK_REMOTE_STATE
public static final Event.Type LINK_LOCAL_STATE
public static final Event.Type LINK_FLOW
public static final Event.Type DELIVERY
public static final Event.Type TRANSPORT
public static Event.Type[] values()
for (Event.Type c : Event.Type.values()) System.out.println(c);
public static Event.Type 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 Event.Category getCategory()
Copyright © 2014 The Apache Software Foundation. All rights reserved.