|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openflow.protocol.statistics.OFQueueStatisticsRequest
public class OFQueueStatisticsRequest
Represents an ofp_queue_stats_request structure
Field Summary | |
---|---|
static int |
MINIMUM_LENGTH
|
protected int |
portNumber
|
protected int |
queueId
|
Constructor Summary | |
---|---|
OFQueueStatisticsRequest()
|
Method Summary | |
---|---|
int |
computeLength()
Computes, sets and returns the length of this OFStatistics message. |
boolean |
equals(java.lang.Object obj)
|
int |
getLength()
Returns the wire length of this message in bytes |
int |
getPortNumber()
|
int |
getQueueId()
|
int |
hashCode()
|
void |
readFrom(java.nio.ByteBuffer data)
Read this message off the wire from the specified ByteBuffer |
OFQueueStatisticsRequest |
setPortNumber(int portNumber)
|
OFQueueStatisticsRequest |
setQueueId(int queueId)
|
OFQueueStatisticsRequest |
setQueueId(OFQueue queue)
|
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 int portNumber
protected int queueId
Constructor Detail |
---|
public OFQueueStatisticsRequest()
Method Detail |
---|
public int getPortNumber()
public OFQueueStatisticsRequest setPortNumber(int portNumber)
portNumber
- the portNumber to setpublic int getQueueId()
public OFQueueStatisticsRequest setQueueId(int queueId)
queueId
- the queueId to setpublic OFQueueStatisticsRequest setQueueId(OFQueue queue)
queueId
- the queueId 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 |