|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openflow.protocol.statistics.OFGroupStatisticsReply
public class OFGroupStatisticsReply
Represents an ofp_group_stats structure
| Field Summary | |
|---|---|
protected long |
byteCount
|
protected int |
durationNanoseconds
|
protected int |
durationSeconds
|
protected int |
groupId
|
protected short |
length
|
static int |
MINIMUM_LENGTH
|
protected long |
packetCount
|
| Constructor Summary | |
|---|---|
OFGroupStatisticsReply()
|
|
| Method Summary | |
|---|---|
int |
computeLength()
Computes, sets and returns the length of this OFStatistics message. |
boolean |
equals(java.lang.Object obj)
|
java.util.List<OFGroupBucketCounter> |
getBandStatistics()
|
long |
getByteCount()
|
int |
getDurationNanoseconds()
|
int |
getDurationSeconds()
|
int |
getGroupId()
|
int |
getLength()
Returns the wire length of this message in bytes |
long |
getPacketCount()
|
int |
getRefCount()
|
int |
hashCode()
|
void |
readFrom(java.nio.ByteBuffer data)
Read this message off the wire from the specified ByteBuffer |
OFGroupStatisticsReply |
setBandStatistics(java.util.List<OFGroupBucketCounter> bucketStatistics)
|
OFGroupStatisticsReply |
setByteCount(long byteCount)
|
OFGroupStatisticsReply |
setDurationNanoseconds(int durationNanoseconds)
|
OFGroupStatisticsReply |
setDurationSeconds(int durationSeconds)
|
OFGroupStatisticsReply |
setGroupId(int groupId)
|
void |
setLength(short length)
|
OFGroupStatisticsReply |
setPacketCount(long packetCount)
|
void |
setRefCount(int refCount)
|
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 short length
protected int groupId
protected long packetCount
protected long byteCount
protected int durationSeconds
protected int durationNanoseconds
| Constructor Detail |
|---|
public OFGroupStatisticsReply()
| Method Detail |
|---|
public int getGroupId()
public OFGroupStatisticsReply setGroupId(int groupId)
groupId - the groupId to setpublic int getRefCount()
public void setRefCount(int refCount)
refCount - the refCount to setpublic long getPacketCount()
public OFGroupStatisticsReply setPacketCount(long packetCount)
packetCount - the packetCount to setpublic long getByteCount()
public OFGroupStatisticsReply setByteCount(long byteCount)
byteCount - the byteCount to setpublic void setLength(short length)
length - the length to setpublic int getLength()
OFStatistics
getLength in interface OFStatisticspublic java.util.List<OFGroupBucketCounter> getBandStatistics()
public OFGroupStatisticsReply setBandStatistics(java.util.List<OFGroupBucketCounter> bucketStatistics)
bucketStatistics - the bucketStatistics to setpublic int getDurationSeconds()
public OFGroupStatisticsReply setDurationSeconds(int durationSeconds)
durationSeconds - the durationSeconds to setpublic int getDurationNanoseconds()
public OFGroupStatisticsReply setDurationNanoseconds(int durationNanoseconds)
durationNanoseconds - the durationNanoseconds to setpublic void readFrom(java.nio.ByteBuffer data)
OFStatistics
readFrom in interface OFStatisticspublic void writeTo(java.nio.ByteBuffer data)
OFStatistics
writeTo in interface OFStatisticspublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic void updateLength()
public java.lang.String toString()
toString in class java.lang.Objectpublic 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 | |||||||||