|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openflow.protocol.statistics.OFDescriptionStatistics
public class OFDescriptionStatistics
Represents an ofp_desc_stats structure
| Field Summary | |
|---|---|
protected java.lang.String |
datapathDescription
|
static int |
DESCRIPTION_STRING_LENGTH
|
protected java.lang.String |
hardwareDescription
|
protected java.lang.String |
manufacturerDescription
|
static int |
MINIMUM_LENGTH
|
static int |
SERIAL_NUMBER_LENGTH
|
protected java.lang.String |
serialNumber
|
protected java.lang.String |
softwareDescription
|
| Constructor Summary | |
|---|---|
OFDescriptionStatistics()
|
|
OFDescriptionStatistics(OFDescriptionStatistics other)
Copy constructor |
|
| Method Summary | |
|---|---|
int |
computeLength()
Computes, sets and returns the length of this OFStatistics message. |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getDatapathDescription()
|
java.lang.String |
getHardwareDescription()
|
int |
getLength()
Returns the wire length of this message in bytes |
java.lang.String |
getManufacturerDescription()
|
java.lang.String |
getSerialNumber()
|
java.lang.String |
getSoftwareDescription()
|
int |
hashCode()
|
void |
readFrom(java.nio.ByteBuffer data)
Read this message off the wire from the specified ByteBuffer |
OFDescriptionStatistics |
setDatapathDescription(java.lang.String datapathDescription)
|
OFDescriptionStatistics |
setHardwareDescription(java.lang.String hardwareDescription)
|
OFDescriptionStatistics |
setManufacturerDescription(java.lang.String manufacturerDescription)
|
OFDescriptionStatistics |
setSerialNumber(java.lang.String serialNumber)
|
OFDescriptionStatistics |
setSoftwareDescription(java.lang.String softwareDescription)
|
java.lang.String |
toString()
|
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, wait, wait, wait |
| Field Detail |
|---|
public static int DESCRIPTION_STRING_LENGTH
public static int SERIAL_NUMBER_LENGTH
public static int MINIMUM_LENGTH
protected java.lang.String manufacturerDescription
protected java.lang.String hardwareDescription
protected java.lang.String softwareDescription
protected java.lang.String serialNumber
protected java.lang.String datapathDescription
| Constructor Detail |
|---|
public OFDescriptionStatistics()
public OFDescriptionStatistics(OFDescriptionStatistics other)
| Method Detail |
|---|
public java.lang.String getManufacturerDescription()
public OFDescriptionStatistics setManufacturerDescription(java.lang.String manufacturerDescription)
manufacturerDescription - the manufacturerDescription to setpublic java.lang.String getHardwareDescription()
public OFDescriptionStatistics setHardwareDescription(java.lang.String hardwareDescription)
hardwareDescription - the hardwareDescription to setpublic java.lang.String getSoftwareDescription()
public OFDescriptionStatistics setSoftwareDescription(java.lang.String softwareDescription)
softwareDescription - the softwareDescription to setpublic java.lang.String getSerialNumber()
public OFDescriptionStatistics setSerialNumber(java.lang.String serialNumber)
serialNumber - the serialNumber to setpublic java.lang.String getDatapathDescription()
public OFDescriptionStatistics setDatapathDescription(java.lang.String datapathDescription)
datapathDescription - the datapathDescription to setpublic int getLength()
OFStatistics
getLength in interface OFStatisticspublic 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 java.lang.String toString()
toString in class java.lang.Objectpublic 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 | |||||||||