|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openflow.protocol.statistics.OFTableStatistics
public class OFTableStatistics
Represents an ofp_table_stats structure
Field Summary | |
---|---|
protected int |
activeCount
|
protected long |
lookupCount
|
protected long |
matchedCount
|
static int |
MINIMUM_LENGTH
|
protected byte |
tableId
|
Constructor Summary | |
---|---|
OFTableStatistics()
|
Method Summary | |
---|---|
int |
computeLength()
Computes, sets and returns the length of this OFStatistics message. |
boolean |
equals(java.lang.Object obj)
|
int |
getActiveCount()
|
int |
getLength()
Returns the wire length of this message in bytes |
long |
getLookupCount()
|
long |
getMatchedCount()
|
byte |
getTableId()
|
int |
hashCode()
|
void |
readFrom(java.nio.ByteBuffer data)
Read this message off the wire from the specified ByteBuffer |
OFTableStatistics |
setActiveCount(int activeCount)
|
OFTableStatistics |
setLookupCount(long lookupCount)
|
OFTableStatistics |
setMatchedCount(long matchedCount)
|
OFTableStatistics |
setTableId(byte tableId)
|
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 |
---|
public static int MINIMUM_LENGTH
protected byte tableId
protected int activeCount
protected long lookupCount
protected long matchedCount
Constructor Detail |
---|
public OFTableStatistics()
Method Detail |
---|
public byte getTableId()
public OFTableStatistics setTableId(byte tableId)
tableId
- the tableId to setpublic int getActiveCount()
public OFTableStatistics setActiveCount(int activeCount)
activeCount
- the activeCount to setpublic long getLookupCount()
public OFTableStatistics setLookupCount(long lookupCount)
lookupCount
- the lookupCount to setpublic long getMatchedCount()
public OFTableStatistics setMatchedCount(long matchedCount)
matchedCount
- the matchedCount 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 |