public enum OwnerChangeTrigger extends Enum<OwnerChangeTrigger>
Enum Constant and Description |
---|
CONNECT
Triggered when the Openflow controller invokes the device owner service
post-handshake method but after the
INIT_CONNECT . |
DISCONNECT
Triggered when the Openflow controller invokes the device owner service
pre-disconnect method.
|
INIT_CONNECT
Triggered when the Openflow controller invokes the device owner service
post-handshake method.
|
PEER_LAST_DISCONNECT
Triggered when a remote peer detects that there are no more connections
to the datapath.
|
PEER_LEAVE
Triggered when the service detects that a peer has left the team.
|
PEER_OWNER_CONNECT
Triggered when a remote peer connected to the datapath.
|
PEER_OWNER_DISCONNECT
Triggered when a remote peer (currently owning the device) loses its
datapath connection to the device.
|
POLICY_REFRESH
Triggered when a policy is to be refreshed.
|
REGION_CHANGE
Triggered when a change to a region occurred.
|
Modifier and Type | Method and Description |
---|---|
static OwnerChangeTrigger |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OwnerChangeTrigger[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OwnerChangeTrigger INIT_CONNECT
public static final OwnerChangeTrigger CONNECT
INIT_CONNECT
.public static final OwnerChangeTrigger DISCONNECT
public static final OwnerChangeTrigger PEER_LEAVE
public static final OwnerChangeTrigger PEER_OWNER_DISCONNECT
PEER_LAST_DISCONNECT
will be triggered instead.public static final OwnerChangeTrigger PEER_LAST_DISCONNECT
public static final OwnerChangeTrigger PEER_OWNER_CONNECT
public static final OwnerChangeTrigger REGION_CHANGE
public static final OwnerChangeTrigger POLICY_REFRESH
public static OwnerChangeTrigger[] values()
for (OwnerChangeTrigger c : OwnerChangeTrigger.values()) System.out.println(c);
public static OwnerChangeTrigger 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 nullCopyright © 2015. All Rights Reserved.