|
||||||||||
| 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 OFStatisticspublic void setActionFactory(OFActionFactory actionFactory)
OFActionFactoryAware
setActionFactory in interface OFActionFactoryAwarepublic void readFrom(java.nio.ByteBuffer data)
OFStatistics
readFrom in interface OFStatisticspublic void writeTo(java.nio.ByteBuffer data)
OFStatistics
writeTo in interface OFStatisticspublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic void updateLength()
public int computeLength()
OFStatisticsOFStatistics.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 | |||||||||