|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<OFHelloElementType>
org.openflow.protocol.hello.OFHelloElementType
public enum OFHelloElementType
Represents an ofp_hello_element_type enum
| Enum Constant Summary | |
|---|---|
VERSION_BITMAP
|
|
| Field Summary | |
|---|---|
protected java.lang.Class<? extends OFHelloElement> |
clazz
|
protected java.lang.reflect.Constructor<? extends OFHelloElement> |
constructor
|
protected Instantiable<OFHelloElement> |
instantiable
|
protected static OFHelloElementType[] |
mapping
|
protected short |
type
|
| Method Summary | |
|---|---|
static void |
addMapping(short i,
OFHelloElementType t)
Adds a mapping from type value to OFHelloElementType enum |
Instantiable<OFHelloElement> |
getInstantiable()
|
short |
getTypeValue()
|
OFHelloElement |
newInstance()
Returns a new instance of the OFHelloElement represented by this OFHelloElementType |
void |
setInstantiable(Instantiable<OFHelloElement> instantiable)
|
static OFHelloElementType |
valueOf(short i)
Given a wire protocol OpenFlow type number, return the OFHelloElementType associated with it |
static OFHelloElementType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static OFHelloElementType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final OFHelloElementType VERSION_BITMAP
| Field Detail |
|---|
protected short type
protected static OFHelloElementType[] mapping
protected java.lang.Class<? extends OFHelloElement> clazz
protected java.lang.reflect.Constructor<? extends OFHelloElement> constructor
protected Instantiable<OFHelloElement> instantiable
| Method Detail |
|---|
public static OFHelloElementType[] values()
for (OFHelloElementType c : OFHelloElementType.values()) System.out.println(c);
public static OFHelloElementType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
public static void addMapping(short i,
OFHelloElementType t)
i - OpenFlow wire protocol HelloElement type valuet - typepublic static OFHelloElementType valueOf(short i)
i - wire protocol number
public short getTypeValue()
public OFHelloElement newInstance()
public Instantiable<OFHelloElement> getInstantiable()
public void setInstantiable(Instantiable<OFHelloElement> instantiable)
instantiable - the instantiable to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||