public static enum OFError.OFErrorType extends Enum<OFError.OFErrorType>
Enum Constant and Description |
---|
OFPET_BAD_ACTION |
OFPET_BAD_REQUEST |
OFPET_FLOW_MOD_FAILED |
OFPET_HELLO_FAILED |
OFPET_PORT_MOD_FAILED |
OFPET_QUEUE_OP_FAILED |
OFPET_VENDOR_ERROR |
Modifier and Type | Field and Description |
---|---|
protected short |
value |
Modifier and Type | Method and Description |
---|---|
short |
getValue() |
static OFError.OFErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OFError.OFErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OFError.OFErrorType OFPET_HELLO_FAILED
public static final OFError.OFErrorType OFPET_BAD_REQUEST
public static final OFError.OFErrorType OFPET_BAD_ACTION
public static final OFError.OFErrorType OFPET_FLOW_MOD_FAILED
public static final OFError.OFErrorType OFPET_PORT_MOD_FAILED
public static final OFError.OFErrorType OFPET_QUEUE_OP_FAILED
public static final OFError.OFErrorType OFPET_VENDOR_ERROR
public static OFError.OFErrorType[] values()
for (OFError.OFErrorType c : OFError.OFErrorType.values()) System.out.println(c);
public static OFError.OFErrorType 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 short getValue()
Copyright © 2015. All rights reserved.