|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openflow.protocol.statistics.OFFlowStatisticsRequest
public class OFFlowStatisticsRequest
Represents an ofp_flow_stats_request structure
Field Summary | |
---|---|
protected long |
cookie
|
protected long |
cookieMask
|
protected OFMatch |
match
|
static int |
MINIMUM_LENGTH
|
protected int |
outGroup
|
protected int |
outPort
|
protected byte |
tableId
|
Constructor Summary | |
---|---|
OFFlowStatisticsRequest()
|
Method Summary | |
---|---|
int |
computeLength()
Computes, sets and returns the length of this OFStatistics message. |
boolean |
equals(java.lang.Object obj)
|
long |
getCookie()
Get cookie |
long |
getCookieMask()
Get cookieMask |
int |
getLength()
Returns the wire length of this message in bytes |
OFMatch |
getMatch()
|
int |
getOutGroup()
|
int |
getOutPort()
|
byte |
getTableId()
|
int |
hashCode()
|
void |
readFrom(java.nio.ByteBuffer data)
Read this message off the wire from the specified ByteBuffer |
OFFlowStatisticsRequest |
setCookie(long cookie)
Set cookie |
OFFlowStatisticsRequest |
setCookieMask(long cookieMask)
Set cookieMask |
OFFlowStatisticsRequest |
setMatch(OFMatch match)
|
OFFlowStatisticsRequest |
setOutGroup(int outGroup)
|
OFFlowStatisticsRequest |
setOutPort(int outPort)
|
OFFlowStatisticsRequest |
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 final int MINIMUM_LENGTH
protected OFMatch match
protected byte tableId
protected int outPort
protected int outGroup
protected long cookie
protected long cookieMask
Constructor Detail |
---|
public OFFlowStatisticsRequest()
Method Detail |
---|
public OFMatch getMatch()
public OFFlowStatisticsRequest setMatch(OFMatch match)
match
- the match to setpublic byte getTableId()
public OFFlowStatisticsRequest setTableId(byte tableId)
tableId
- the tableId to setpublic int getOutPort()
public OFFlowStatisticsRequest setOutPort(int outPort)
outPort
- the outPort to setpublic int getOutGroup()
public OFFlowStatisticsRequest setOutGroup(int outGroup)
outGroup
- the outGroup to setpublic long getCookie()
public OFFlowStatisticsRequest setCookie(long cookie)
cookie
- public long getCookieMask()
public OFFlowStatisticsRequest setCookieMask(long cookieMask)
cookieMask
- public 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 |