public class MBodyDesc extends OpenflowStructure implements MultipartBody
parseErrorCause, 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.0.
|
String |
getHwDesc()
Returns the hardware description; Since 1.0.
|
String |
getMfrDesc()
Returns the manufacturer description; Since 1.0.
|
String |
getSerialNum()
Returns the serial number; Since 1.0.
|
String |
getSwDesc()
Returns the software description; Since 1.0.
|
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, incomplete, parseErrorCause, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
validate
getVersion
public MBodyDesc(ProtocolVersion pv)
pv
- the protocol versionpublic String toString()
toString
in class OpenflowStructure
public String toDebugString()
OpenflowStructure
OpenflowStructure.toString()
, but
subclasses are free to override this behavior.toDebugString
in interface Structure
toDebugString
in class OpenflowStructure
public int getTotalLength()
MultipartBody
getTotalLength
in interface MultipartBody
public String getMfrDesc()
public String getHwDesc()
public String getSwDesc()
public String getSerialNum()
public String getDpDesc()
Copyright © 2015. All Rights Reserved.