|
||||||||||
| 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 OFStatisticspublic void writeTo(java.nio.ByteBuffer data)
OFStatistics
writeTo in interface OFStatisticspublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int getLength()
OFStatistics
getLength in interface OFStatisticspublic void setLength(int length)
public int computeLength()
OFStatisticsOFStatistics.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 | |||||||||