public class OFFlowStatisticsReply extends Object implements OFStatistics, OFActionFactoryAware
| Modifier and Type | Field and Description |
|---|---|
protected OFActionFactory |
actionFactory |
protected List<OFAction> |
actions |
protected long |
byteCount |
protected long |
cookie |
protected int |
durationNanoseconds |
protected int |
durationSeconds |
protected short |
hardTimeout |
protected short |
idleTimeout |
protected short |
length |
protected OFMatch |
match |
static int |
MINIMUM_LENGTH |
protected long |
packetCount |
protected short |
priority |
protected byte |
tableId |
| Constructor and Description |
|---|
OFFlowStatisticsReply() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<OFAction> |
getActions() |
long |
getByteCount() |
long |
getCookie() |
int |
getDurationNanoseconds() |
int |
getDurationSeconds() |
short |
getHardTimeout() |
short |
getIdleTimeout() |
int |
getLength()
Returns the wire length of this message in bytes
|
OFMatch |
getMatch() |
long |
getPacketCount() |
short |
getPriority() |
byte |
getTableId() |
int |
hashCode() |
void |
readFrom(org.jboss.netty.buffer.ChannelBuffer data)
Read this message off the wire from the specified ByteBuffer
|
void |
setActionFactory(OFActionFactory actionFactory)
Sets the OFActionFactory
|
void |
setActions(List<OFAction> actions) |
void |
setByteCount(long byteCount) |
void |
setCookie(long cookie) |
void |
setDurationNanoseconds(int durationNanoseconds) |
void |
setDurationSeconds(int durationSeconds) |
void |
setHardTimeout(short hardTimeout) |
void |
setIdleTimeout(short idleTimeout) |
void |
setLength(short length) |
void |
setMatch(OFMatch match) |
void |
setPacketCount(long packetCount) |
void |
setPriority(short priority) |
void |
setTableId(byte tableId) |
String |
toString() |
void |
writeTo(org.jboss.netty.buffer.ChannelBuffer data)
Write this message's binary format to the specified ByteBuffer
|
public static int MINIMUM_LENGTH
protected OFActionFactory actionFactory
protected short length
protected byte tableId
protected OFMatch match
protected int durationSeconds
protected int durationNanoseconds
protected short priority
protected short idleTimeout
protected short hardTimeout
protected long cookie
protected long packetCount
protected long byteCount
public byte getTableId()
public void setTableId(byte tableId)
tableId - the tableId to setpublic OFMatch getMatch()
public void setMatch(OFMatch match)
match - the match to setpublic int getDurationSeconds()
public void setDurationSeconds(int durationSeconds)
durationSeconds - the durationSeconds to setpublic int getDurationNanoseconds()
public void setDurationNanoseconds(int durationNanoseconds)
durationNanoseconds - the durationNanoseconds to setpublic short getPriority()
public void setPriority(short priority)
priority - the priority to setpublic short getIdleTimeout()
public void setIdleTimeout(short idleTimeout)
idleTimeout - the idleTimeout to setpublic short getHardTimeout()
public void setHardTimeout(short hardTimeout)
hardTimeout - the hardTimeout to setpublic long getCookie()
public void setCookie(long cookie)
cookie - the cookie to setpublic long getPacketCount()
public void setPacketCount(long packetCount)
packetCount - the packetCount to setpublic long getByteCount()
public void setByteCount(long byteCount)
byteCount - the byteCount to setpublic void setLength(short length)
length - the length to setpublic int getLength()
OFStatisticsgetLength in interface OFStatisticspublic void setActionFactory(OFActionFactory actionFactory)
OFActionFactoryAwaresetActionFactory in interface OFActionFactoryAwareactionFactory - the actionFactory to setpublic void readFrom(org.jboss.netty.buffer.ChannelBuffer data)
OFStatisticsreadFrom in interface OFStatisticspublic void writeTo(org.jboss.netty.buffer.ChannelBuffer data)
OFStatisticswriteTo in interface OFStatisticsCopyright © 2015. All rights reserved.