|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openflow.protocol.statistics.OFAggregateStatisticsReply
public class OFAggregateStatisticsReply
Represents an ofp_aggregate_stats_reply structure
Field Summary | |
---|---|
protected long |
byteCount
|
protected int |
flowCount
|
protected static int |
MINIMUM_LENGTH
|
protected long |
packetCount
|
Constructor Summary | |
---|---|
OFAggregateStatisticsReply()
|
Method Summary | |
---|---|
int |
computeLength()
Computes, sets and returns the length of this OFStatistics message. |
boolean |
equals(java.lang.Object obj)
|
long |
getByteCount()
|
int |
getFlowCount()
|
int |
getLength()
Returns the wire length of this message in bytes |
long |
getPacketCount()
|
int |
hashCode()
|
void |
readFrom(java.nio.ByteBuffer data)
Read this message off the wire from the specified ByteBuffer |
OFAggregateStatisticsReply |
setByteCount(long byteCount)
|
OFAggregateStatisticsReply |
setFlowCount(int flowCount)
|
OFAggregateStatisticsReply |
setPacketCount(long packetCount)
|
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, toString, wait, wait, wait |
Field Detail |
---|
protected static int MINIMUM_LENGTH
protected long packetCount
protected long byteCount
protected int flowCount
Constructor Detail |
---|
public OFAggregateStatisticsReply()
Method Detail |
---|
public long getPacketCount()
public OFAggregateStatisticsReply setPacketCount(long packetCount)
packetCount
- the packetCount to setpublic long getByteCount()
public OFAggregateStatisticsReply setByteCount(long byteCount)
byteCount
- the byteCount to setpublic int getFlowCount()
public OFAggregateStatisticsReply setFlowCount(int flowCount)
flowCount
- the flowCount to setpublic int getLength()
OFStatistics
getLength
in interface OFStatistics
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 int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
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 |