public enum RoleRecvStatus extends Enum<RoleRecvStatus>
| Enum Constant and Description |
|---|
MATCHED_CURRENT_ROLE
The reply's role matched the role that this controller set in the
request message - invoked either initially at startup or to reassert
current role.
|
MATCHED_SET_ROLE
The reply's role matched the role that this controller set in the
request message - this is the result of a callback from the
global registry, followed by a role request sent to the switch.
|
NO_REPLY
The request timed out.
|
OLD_REPLY
The reply was old, there is a newer request pending.
|
OTHER_EXPECTATION
We received a role reply message from the switch
but the expectation was unclear, or there was no expectation.
|
REPLY_QUERY
The reply's role was a response to the query made by this controller.
|
UNSUPPORTED
The switch returned an error indicating that roles are not.
|
| Modifier and Type | Method and Description |
|---|---|
static RoleRecvStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoleRecvStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoleRecvStatus UNSUPPORTED
public static final RoleRecvStatus NO_REPLY
public static final RoleRecvStatus OLD_REPLY
public static final RoleRecvStatus MATCHED_CURRENT_ROLE
public static final RoleRecvStatus MATCHED_SET_ROLE
public static final RoleRecvStatus REPLY_QUERY
public static final RoleRecvStatus OTHER_EXPECTATION
public static RoleRecvStatus[] values()
for (RoleRecvStatus c : RoleRecvStatus.values()) System.out.println(c);
public static RoleRecvStatus 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 null