|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openflow.protocol.statistics.OFVendorStatistics
public class OFVendorStatistics
The base class for vendor implemented statistics message
Field Summary | |
---|---|
protected int |
length
|
protected static int |
MINIMUM_LENGTH
|
protected int |
vendor
|
protected byte[] |
vendorData
|
protected int |
vendorType
|
Constructor Summary | |
---|---|
OFVendorStatistics()
|
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 |
getVendor()
|
byte[] |
getVendorData()
|
int |
getVendorType()
|
int |
hashCode()
|
void |
readFrom(java.nio.ByteBuffer data)
Read this message off the wire from the specified ByteBuffer |
void |
setLength(int length)
|
OFVendorStatistics |
setVendor(int vendor)
|
OFVendorStatistics |
setVendorData(byte[] vendorData)
|
OFVendorStatistics |
setVendorType(int vendorType)
|
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 |
---|
protected static int MINIMUM_LENGTH
protected int vendor
protected int vendorType
protected byte[] vendorData
protected int length
Constructor Detail |
---|
public OFVendorStatistics()
Method Detail |
---|
public int getVendor()
public OFVendorStatistics setVendor(int vendor)
vendor
- the vendor to setpublic int getVendorType()
public OFVendorStatistics setVendorType(int vendorType)
vendorType
- the experiment type to setpublic byte[] getVendorData()
public OFVendorStatistics setVendorData(byte[] vendorData)
vendorData
- the vendorData 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 getLength()
OFStatistics
getLength
in interface OFStatistics
public void setLength(int length)
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 |