|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openflow.protocol.statistics.OFQueueStatisticsReply
public class OFQueueStatisticsReply
Represents an ofp_queue_stats structure
Field Summary | |
---|---|
protected int |
durationNanoseconds
|
protected int |
durationSeconds
|
static int |
MINIMUM_LENGTH
|
protected int |
portNumber
|
protected int |
queueId
|
protected long |
transmitBytes
|
protected long |
transmitErrors
|
protected long |
transmitPackets
|
Constructor Summary | |
---|---|
OFQueueStatisticsReply()
|
Method Summary | |
---|---|
int |
computeLength()
Computes, sets and returns the length of this OFStatistics message. |
boolean |
equals(java.lang.Object obj)
|
int |
getDurationNanoseconds()
|
int |
getDurationSeconds()
|
int |
getLength()
Returns the wire length of this message in bytes |
int |
getPortNumber()
|
int |
getQueueId()
|
long |
getTransmitBytes()
|
long |
getTransmitErrors()
|
long |
getTransmitPackets()
|
int |
hashCode()
|
void |
readFrom(java.nio.ByteBuffer data)
Read this message off the wire from the specified ByteBuffer |
OFQueueStatisticsReply |
setDurationNanoseconds(int durationNanoseconds)
|
OFQueueStatisticsReply |
setDurationSeconds(int durationSeconds)
|
OFQueueStatisticsReply |
setPortNumber(int portNumber)
|
OFQueueStatisticsReply |
setQueueId(int queueId)
|
OFQueueStatisticsReply |
setTransmitBytes(long transmitBytes)
|
OFQueueStatisticsReply |
setTransmitErrors(long transmitErrors)
|
OFQueueStatisticsReply |
setTransmitPackets(long transmitPackets)
|
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
protected long transmitBytes
protected long transmitPackets
protected long transmitErrors
protected int durationSeconds
protected int durationNanoseconds
Constructor Detail |
---|
public OFQueueStatisticsReply()
Method Detail |
---|
public int getPortNumber()
public OFQueueStatisticsReply setPortNumber(int portNumber)
portNumber
- the portNumber to setpublic int getQueueId()
public OFQueueStatisticsReply setQueueId(int queueId)
queueId
- the queueId to setpublic long getTransmitBytes()
public OFQueueStatisticsReply setTransmitBytes(long transmitBytes)
transmitBytes
- the transmitBytes to setpublic long getTransmitPackets()
public OFQueueStatisticsReply setTransmitPackets(long transmitPackets)
transmitPackets
- the transmitPackets to setpublic long getTransmitErrors()
public OFQueueStatisticsReply setTransmitErrors(long transmitErrors)
transmitErrors
- the transmitErrors to setpublic int getLength()
OFStatistics
getLength
in interface OFStatistics
public int getDurationSeconds()
public OFQueueStatisticsReply setDurationSeconds(int durationSeconds)
durationSeconds
- the duration_seconds to setpublic int getDurationNanoseconds()
public OFQueueStatisticsReply setDurationNanoseconds(int durationNanoseconds)
durationNanoseconds
- the duration_nanoseconds to setpublic 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 |