public class MBodyMutableQueueStatsRequest extends MBodyQueueStatsRequest implements MutableStructure
MBodyQueueStatsRequest.version| Constructor and Description |
|---|
MBodyMutableQueueStatsRequest(ProtocolVersion pv)
Constructs a mutable multipart body QUEUE request type.
|
| Modifier and Type | Method and Description |
|---|---|
MBodyMutableQueueStatsRequest |
port(BigPortNumber port)
Sets the port number for which statistics are requested; Since 1.0.
|
MBodyMutableQueueStatsRequest |
queueId(QueueId queueId)
Sets the ID of the queue to read; Since 1.0.
|
OpenflowStructure |
toImmutable()
Returns an immutable instance of this structure.
|
String |
toString() |
boolean |
writable()
Returns true if this mutable object is still writable.
|
getPort, getQueueId, getTotalLength, toDebugString, validategetVersion, hex, hexclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetVersion, toDebugStringpublic MBodyMutableQueueStatsRequest(ProtocolVersion pv)
Note that a freshly constructed instance has the following default values:
Port.ANYQueueId.ALLpv - the protocol versionpublic boolean writable()
MutableObject#toImmutable() method (defined on a sub-interface)
has not yet been invoked.writable in interface MutableObjectpublic OpenflowStructure toImmutable()
MutableStructure
It is expected that the reference to this mutable structure will be
dropped. Note that all method calls invoked on a
MutableStructure after toImmutable() has been invoked
will result in an InvalidMutableException being thrown.
toImmutable in interface MutableStructurepublic String toString()
toString in class MBodyQueueStatsRequestpublic MBodyMutableQueueStatsRequest port(BigPortNumber port)
Port.ANY indicates no restriction.
Note that in 1.0, port numbers are u16.
port - the portInvalidMutableException - if this instance is no longer writableNullPointerException - if port is nullIllegalArgumentException - if the port number is invalidpublic MBodyMutableQueueStatsRequest queueId(QueueId queueId)
A value of QueueId.ALL indicates all queues configured
at the specified port.
queueId - the queue IDInvalidMutableException - if this instance is no longer writableNullPointerException - if queueId is nullCopyright © 2014. All Rights Reserved.