|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openflow.protocol.statistics.OFPortStatisticsRequest
public class OFPortStatisticsRequest
Represents an ofp_port_stats_request structure
Field Summary | |
---|---|
static int |
MINIMUM_LENGTH
|
protected int |
portNumber
|
Constructor Summary | |
---|---|
OFPortStatisticsRequest()
|
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 |
hashCode()
|
void |
readFrom(java.nio.ByteBuffer data)
Read this message off the wire from the specified ByteBuffer |
OFPortStatisticsRequest |
setPortNumber(int portNumber)
|
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
Constructor Detail |
---|
public OFPortStatisticsRequest()
Method Detail |
---|
public int getPortNumber()
public OFPortStatisticsRequest setPortNumber(int portNumber)
portNumber
- the portNumber 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 |