public class MBodyDesc extends OpenflowStructure implements MultipartBody
version| Constructor and Description |
|---|
MBodyDesc(ProtocolVersion pv)
Constructs a multipart body DESC type.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDpDesc()
Returns the data-path description; Since 1.3.
|
String |
getHwDesc()
Returns the hardware description; Since 1.3.
|
String |
getMfrDesc()
Returns the manufacturer description; Since 1.3.
|
String |
getSerialNum()
Returns the serial number; Since 1.3.
|
String |
getSwDesc()
Returns the software description; Since 1.3.
|
int |
getTotalLength()
Returns the total length of the body, in bytes.
|
String |
toDebugString()
Returns a string representation useful for debugging.
|
String |
toString() |
getVersion, hex, hex, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitvalidategetVersionpublic MBodyDesc(ProtocolVersion pv)
pv - the protocol versionpublic String toString()
toString in class OpenflowStructurepublic String toDebugString()
OpenflowStructureOpenflowStructure.toString(), but
subclasses are free to override this behavior.toDebugString in interface StructuretoDebugString in class OpenflowStructurepublic int getTotalLength()
MultipartBodygetTotalLength in interface MultipartBodypublic String getMfrDesc()
public String getHwDesc()
public String getSwDesc()
public String getSerialNum()
public String getDpDesc()
Copyright © 2014. All Rights Reserved.