|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openflow.protocol.queue.OFQueuePropertyType
public class OFQueuePropertyType
List of OpenFlow Queue Property types and mappings to wire protocol value and derived classes
| Field Summary | |
|---|---|
protected java.lang.Class<? extends OFQueueProperty> |
clazz
|
protected java.lang.reflect.Constructor<? extends OFQueueProperty> |
constructor
|
protected Instantiable<OFQueueProperty> |
instantiable
|
protected static java.util.Map<java.lang.Short,OFQueuePropertyType> |
mapping
|
static OFQueuePropertyType |
MAX_RATE
|
static OFQueuePropertyType |
MIN_RATE
|
protected java.lang.String |
name
|
protected short |
type
|
| Constructor Summary | |
|---|---|
OFQueuePropertyType(int type,
java.lang.String name,
java.lang.Class<? extends OFQueueProperty> clazz,
Instantiable<OFQueueProperty> instantiable)
Store some information about the OpenFlow Queue Property type, including wire protocol type number, length, and derived class |
|
| Method Summary | |
|---|---|
static void |
addMapping(short i,
OFQueuePropertyType t)
Adds a mapping from type value to OFQueuePropertyType enum |
java.lang.reflect.Constructor<? extends OFQueueProperty> |
getConstructor()
Returns the no-argument Constructor of the implementation class for this OFQueuePropertyType |
Instantiable<OFQueueProperty> |
getInstantiable()
|
java.lang.String |
getName()
|
short |
getTypeValue()
|
OFQueueProperty |
newInstance()
Returns a new instance of the OFQueueProperty represented by this OFQueuePropertyType |
void |
setInstantiable(Instantiable<OFQueueProperty> instantiable)
|
java.lang.Class<? extends OFQueueProperty> |
toClass()
|
java.lang.String |
toString()
|
static OFQueuePropertyType |
valueOf(short i)
Given a wire protocol OpenFlow type number, return the OFQueuePropertyType associated with it |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static OFQueuePropertyType MIN_RATE
public static OFQueuePropertyType MAX_RATE
protected java.lang.Class<? extends OFQueueProperty> clazz
protected java.lang.reflect.Constructor<? extends OFQueueProperty> constructor
protected Instantiable<OFQueueProperty> instantiable
protected java.lang.String name
protected short type
protected static java.util.Map<java.lang.Short,OFQueuePropertyType> mapping
| Constructor Detail |
|---|
public OFQueuePropertyType(int type,
java.lang.String name,
java.lang.Class<? extends OFQueueProperty> clazz,
Instantiable<OFQueueProperty> instantiable)
type - Wire protocol number associated with this OFQueuePropertyTypename - The name of this typeclazz - The Java class corresponding to this type of OpenFlow Queue Propertyinstantiable - the instantiable for the OFQueueProperty this type represents| Method Detail |
|---|
public static void addMapping(short i,
OFQueuePropertyType t)
i - OpenFlow wire protocol Action type valuet - typepublic static OFQueuePropertyType valueOf(short i)
i - wire protocol number
public short getTypeValue()
public java.lang.Class<? extends OFQueueProperty> toClass()
public java.lang.reflect.Constructor<? extends OFQueueProperty> getConstructor()
public OFQueueProperty newInstance()
public Instantiable<OFQueueProperty> getInstantiable()
public void setInstantiable(Instantiable<OFQueueProperty> instantiable)
instantiable - the instantiable to setpublic java.lang.String getName()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||