|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openflow.protocol.statistics.OFGroupDescription
public class OFGroupDescription
Represents an ofp_meter_stats structure
Field Summary | |
---|---|
protected OFActionFactory |
actionFactory
|
protected java.util.List<OFBucket> |
buckets
|
protected int |
groupId
|
protected short |
length
|
static int |
MINIMUM_LENGTH
|
protected byte |
type
|
Constructor Summary | |
---|---|
OFGroupDescription()
|
Method Summary | |
---|---|
int |
computeLength()
Computes, sets and returns the length of this OFStatistics message. |
boolean |
equals(java.lang.Object obj)
|
java.util.List<OFBucket> |
getBuckets()
|
int |
getGroupId()
|
int |
getLength()
Returns the wire length of this message in bytes |
byte |
getType()
|
int |
hashCode()
|
void |
readFrom(java.nio.ByteBuffer data)
Read this message off the wire from the specified ByteBuffer |
void |
setActionFactory(OFActionFactory actionFactory)
Sets the OFActionFactory |
OFGroupDescription |
setBuckets(java.util.List<OFBucket> buckets)
|
OFGroupDescription |
setGroupId(int groupId)
|
void |
setType(byte type)
|
java.lang.String |
toString()
|
void |
updateLength()
|
void |
writeTo(java.nio.ByteBuffer data)
Write this message's binary format to the specified ByteBuffer |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static int MINIMUM_LENGTH
protected OFActionFactory actionFactory
protected short length
protected byte type
protected int groupId
protected java.util.List<OFBucket> buckets
Constructor Detail |
---|
public OFGroupDescription()
Method Detail |
---|
public int getGroupId()
public OFGroupDescription setGroupId(int groupId)
groupId
- the groupId to setpublic byte getType()
public void setType(byte type)
type
- the type to setpublic java.util.List<OFBucket> getBuckets()
public OFGroupDescription setBuckets(java.util.List<OFBucket> buckets)
buckets
- the buckets to setpublic int getLength()
OFStatistics
getLength
in interface OFStatistics
public void setActionFactory(OFActionFactory actionFactory)
OFActionFactoryAware
setActionFactory
in interface OFActionFactoryAware
public void readFrom(java.nio.ByteBuffer data)
OFStatistics
readFrom
in interface OFStatistics
public void writeTo(java.nio.ByteBuffer data)
OFStatistics
writeTo
in interface OFStatistics
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public void updateLength()
public int computeLength()
OFStatistics
OFStatistics.getLength()
without
recomputing after this method is called.
computeLength
in interface OFStatistics
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |