|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openflow.protocol.statistics.OFMeterStatisticsReply
public class OFMeterStatisticsReply
Represents an ofp_meter_stats structure
Field Summary | |
---|---|
protected java.util.List<OFMeterBandStatistics> |
bandStatistics
|
protected long |
byteInCount
|
protected int |
flowCount
|
protected short |
length
|
protected int |
meterId
|
static int |
MINIMUM_LENGTH
|
protected long |
packetInCount
|
Constructor Summary | |
---|---|
OFMeterStatisticsReply()
|
Method Summary | |
---|---|
int |
computeLength()
Computes, sets and returns the length of this OFStatistics message. |
boolean |
equals(java.lang.Object obj)
|
java.util.List<OFMeterBandStatistics> |
getBandStatistics()
|
long |
getByteInCount()
|
int |
getFlowCount()
|
int |
getLength()
Returns the wire length of this message in bytes |
int |
getMeterId()
|
long |
getPacketInCount()
|
int |
hashCode()
|
void |
readFrom(java.nio.ByteBuffer data)
Read this message off the wire from the specified ByteBuffer |
OFMeterStatisticsReply |
setBandStatistics(java.util.List<OFMeterBandStatistics> bandStatistics)
|
OFMeterStatisticsReply |
setByteInCount(long byteInCount)
|
void |
setFlowCount(int flowCount)
|
void |
setLength(short length)
|
OFMeterStatisticsReply |
setMeterId(int meterId)
|
OFMeterStatisticsReply |
setPacketInCount(long packetInCount)
|
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 meterId
protected int flowCount
protected long packetInCount
protected long byteInCount
protected java.util.List<OFMeterBandStatistics> bandStatistics
Constructor Detail |
---|
public OFMeterStatisticsReply()
Method Detail |
---|
public int getMeterId()
public OFMeterStatisticsReply setMeterId(int meterId)
meterId
- the meterId to setpublic long getPacketInCount()
public OFMeterStatisticsReply setPacketInCount(long packetInCount)
packetInCount
- the packetInCount to setpublic int getFlowCount()
public void setFlowCount(int flowCount)
flowCount
- the flowCount to setpublic long getByteInCount()
public OFMeterStatisticsReply setByteInCount(long byteInCount)
byteInCount
- the byteInCount to setpublic void setLength(short length)
length
- the length to setpublic int getLength()
OFStatistics
getLength
in interface OFStatistics
public java.util.List<OFMeterBandStatistics> getBandStatistics()
public OFMeterStatisticsReply setBandStatistics(java.util.List<OFMeterBandStatistics> bandStatistics)
bandStatistics
- the bandStatistics to setpublic 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 void updateLength()
public java.lang.String toString()
toString
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 |