public enum OpenflowEventType extends Enum<OpenflowEventType>
Enum Constant and Description |
---|
DATAPATH_CONNECTED
An OpenFlow-capable device connected to the controller.
|
DATAPATH_DISCONNECTED
An OpenFlow-capable device disconnected from the controller.
|
DATAPATH_READY
An OpenFlow-capable device has its default flows installed, and is
ready.
|
DATAPATH_REVOKED
An OpenFlow-capable device was revoked from the controller,
usually because a duplicate datapath ID was detected.
|
DROPPED_EVENTS_CHECKPOINT
Signifies an unspecified number of dropped events, and marks the
position in the queue where the posting of events was resumed.
|
ERROR
An unexpected error occurred.
|
LISTENER_ADDED
An
OpenflowListener has registered with the controller. |
LISTENER_REMOVED
An
OpenflowListener has unregistered from the controller. |
MESSAGE_RX
An OpenFlow message was received from a datapath.
|
MESSAGE_TX
An OpenFlow message was transmitted to a datapath.
|
MX_CHECKPOINT
A synthetic event, used as a checkpoint by the management API.
|
QUEUE_FULL
A listener's event queue has exceeded capacity, and has been flagged
as "on probation".
|
QUEUE_FULL_RESET
A listener's event queue has been drained below the queue-full-reset
level (a percentage of the queue capacity), and the "on probation" state
has been cleared.
|
Modifier and Type | Method and Description |
---|---|
String |
abbrev()
Returns an abbreviated name for the constant, suitable for displaying
in the UI while conserving space.
|
static OpenflowEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenflowEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenflowEventType DATAPATH_CONNECTED
DATAPATH_READY
public static final OpenflowEventType DATAPATH_READY
DATAPATH_CONNECTED
public static final OpenflowEventType DATAPATH_DISCONNECTED
public static final OpenflowEventType DATAPATH_REVOKED
public static final OpenflowEventType MESSAGE_RX
public static final OpenflowEventType MESSAGE_TX
public static final OpenflowEventType LISTENER_ADDED
OpenflowListener
has registered with the controller.public static final OpenflowEventType LISTENER_REMOVED
OpenflowListener
has unregistered from the controller.public static final OpenflowEventType ERROR
public static final OpenflowEventType QUEUE_FULL
public static final OpenflowEventType QUEUE_FULL_RESET
public static final OpenflowEventType DROPPED_EVENTS_CHECKPOINT
public static final OpenflowEventType MX_CHECKPOINT
public static OpenflowEventType[] values()
for (OpenflowEventType c : OpenflowEventType.values()) System.out.println(c);
public static OpenflowEventType 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 String abbrev()
Copyright © 2015. All Rights Reserved.