|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openflow.protocol.statistics.OFFlowStatisticsReply
public class OFFlowStatisticsReply
Represents an ofp_flow_stats structure
| Field Summary | |
|---|---|
protected long |
byteCount
|
protected long |
cookie
|
protected int |
durationNanoseconds
|
protected int |
durationSeconds
|
protected short |
flags
|
protected short |
hardTimeout
|
protected short |
idleTimeout
|
protected OFInstructionFactory |
instructionFactory
|
protected java.util.List<OFInstruction> |
instructions
|
protected short |
length
|
protected OFMatch |
match
|
static int |
MINIMUM_LENGTH
|
protected long |
packetCount
|
protected short |
priority
|
protected byte |
tableId
|
| Constructor Summary | |
|---|---|
OFFlowStatisticsReply()
|
|
| Method Summary | |
|---|---|
int |
computeLength()
Computes, sets and returns the length of this OFStatistics message. |
boolean |
equals(java.lang.Object obj)
|
long |
getByteCount()
|
long |
getCookie()
|
int |
getDurationNanoseconds()
|
int |
getDurationSeconds()
|
short |
getFlags()
|
short |
getHardTimeout()
|
short |
getIdleTimeout()
|
java.util.List<OFInstruction> |
getInstructions()
|
int |
getLength()
Returns the wire length of this message in bytes |
OFMatch |
getMatch()
|
long |
getPacketCount()
|
short |
getPriority()
|
byte |
getTableId()
|
int |
hashCode()
|
void |
readFrom(java.nio.ByteBuffer data)
Read this message off the wire from the specified ByteBuffer |
OFFlowStatisticsReply |
setByteCount(long byteCount)
|
OFFlowStatisticsReply |
setCookie(long cookie)
|
OFFlowStatisticsReply |
setDurationNanoseconds(int durationNanoseconds)
|
OFFlowStatisticsReply |
setDurationSeconds(int durationSeconds)
|
OFFlowStatisticsReply |
setFlags(short flags)
|
OFFlowStatisticsReply |
setHardTimeout(short hardTimeout)
|
OFFlowStatisticsReply |
setIdleTimeout(short idleTimeout)
|
void |
setInstructionFactory(OFInstructionFactory instructionFactory)
Sets the OFInstructionFactory |
OFFlowStatisticsReply |
setInstructions(java.util.List<OFInstruction> instructions)
|
void |
setLength(short length)
|
OFFlowStatisticsReply |
setMatch(OFMatch match)
|
OFFlowStatisticsReply |
setPacketCount(long packetCount)
|
OFFlowStatisticsReply |
setPriority(short priority)
|
OFFlowStatisticsReply |
setTableId(byte tableId)
|
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 OFInstructionFactory instructionFactory
protected short length
protected byte tableId
protected int durationSeconds
protected int durationNanoseconds
protected short priority
protected short idleTimeout
protected short hardTimeout
protected short flags
protected long cookie
protected long packetCount
protected long byteCount
protected OFMatch match
protected java.util.List<OFInstruction> instructions
| Constructor Detail |
|---|
public OFFlowStatisticsReply()
| Method Detail |
|---|
public byte getTableId()
public OFFlowStatisticsReply setTableId(byte tableId)
tableId - the tableId to setpublic OFMatch getMatch()
public OFFlowStatisticsReply setMatch(OFMatch match)
match - the match to setpublic int getDurationSeconds()
public OFFlowStatisticsReply setDurationSeconds(int durationSeconds)
durationSeconds - the durationSeconds to setpublic int getDurationNanoseconds()
public OFFlowStatisticsReply setDurationNanoseconds(int durationNanoseconds)
durationNanoseconds - the durationNanoseconds to setpublic short getPriority()
public OFFlowStatisticsReply setPriority(short priority)
priority - the priority to setpublic short getIdleTimeout()
public OFFlowStatisticsReply setIdleTimeout(short idleTimeout)
idleTimeout - the idleTimeout to setpublic short getHardTimeout()
public OFFlowStatisticsReply setHardTimeout(short hardTimeout)
hardTimeout - the hardTimeout to setpublic short getFlags()
public OFFlowStatisticsReply setFlags(short flags)
flags - the flags to setpublic long getCookie()
public OFFlowStatisticsReply setCookie(long cookie)
cookie - the cookie to setpublic long getPacketCount()
public OFFlowStatisticsReply setPacketCount(long packetCount)
packetCount - the packetCount to setpublic long getByteCount()
public OFFlowStatisticsReply setByteCount(long byteCount)
byteCount - the byteCount to setpublic void setLength(short length)
length - the length to setpublic int getLength()
OFStatistics
getLength in interface OFStatisticspublic void setInstructionFactory(OFInstructionFactory instructionFactory)
OFInstructionFactoryAware
setInstructionFactory in interface OFInstructionFactoryAwareinstructionFactory - the instructionFactory to setpublic java.util.List<OFInstruction> getInstructions()
public OFFlowStatisticsReply setInstructions(java.util.List<OFInstruction> instructions)
instructions - the instructions 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 | |||||||||