org.openflow.protocol
Class SwitchDescriptionStats
java.lang.Object
org.openflow.gui.net.protocol.OFGMessage
org.openflow.gui.net.protocol.StatsHeader
org.openflow.protocol.SwitchDescriptionStats
- All Implemented Interfaces:
- Message<OFGMessageType>
public class SwitchDescriptionStats
- extends StatsHeader
OFGMessage containing information about a switch. It is the response to
OFPST_DESC statistics request.
- Author:
- David Underhill
|
Method Summary |
int |
length()
total length of this message in bytes |
java.lang.String |
toString()
String representation of the message including the date and type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MAX_DSEC_STR_LEN
public static final int MAX_DSEC_STR_LEN
- See Also:
- Constant Field Values
SERIAL_NUM_LEN
public static final int SERIAL_NUM_LEN
- See Also:
- Constant Field Values
manufacturer
public final java.lang.String manufacturer
hw_desc
public final java.lang.String hw_desc
sw_desc
public final java.lang.String sw_desc
serial_num
public final java.lang.String serial_num
SwitchDescriptionStats
public SwitchDescriptionStats(long dpid,
StatsFlag flags,
java.io.DataInput in)
throws java.io.IOException
- Extract the descriptions from the specified input stream.
- Throws:
java.io.IOException
length
public int length()
- Description copied from class:
OFGMessage
- total length of this message in bytes
- Overrides:
length in class StatsHeader
toString
public java.lang.String toString()
- Description copied from class:
OFGMessage
- String representation of the message including the date and type. Also
includes the transaction ID if it is non-zero.
- Overrides:
toString in class StatsHeader