public class OfmMutableGetConfigReply extends OfmGetConfigReply implements MutableMessage
OfmGetConfigReply
.length
Modifier and Type | Method and Description |
---|---|
void |
clearXid()
Clears the transaction ID field of this message (sets it to 0).
|
OfmMutableGetConfigReply |
configFlags(Set<ConfigFlag> flags)
Sets the configuration flags (may be null); Since 1.0.
|
Set<ConfigFlag> |
getFlags()
Returns the set of configuration flags.
|
int |
getMissSendLength()
Returns the "miss send" length; Since 1.0.
|
OfmMutableGetConfigReply |
missSendLength(int missSendLength)
Sets the miss-send-length (u16); Since 1.0.
|
OpenflowMessage |
toImmutable()
Returns an immutable instance of this message.
|
String |
toString() |
boolean |
writable()
Returns true if this mutable object is still writable.
|
decodeHeader, getType, getVersion, getXid, hex, hex, length, toDebugString, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getVersion, toDebugString
public void clearXid()
MutableMessage
clearXid
in interface MutableMessage
public OpenflowMessage toImmutable()
MutableMessage
It is expected that the reference to this mutable message will be
dropped. Note that all method calls invoked on a
MutableMessage
after toImmutable()
has been invoked
will result in an InvalidMutableException
being thrown.
toImmutable
in interface MutableMessage
public boolean writable()
MutableObject
#toImmutable()
method (defined on a sub-interface)
has not yet been invoked.writable
in interface MutableObject
public String toString()
public OfmMutableGetConfigReply configFlags(Set<ConfigFlag> flags)
flags
- the config flagsInvalidMutableException
- if this instance is no longer writablepublic OfmMutableGetConfigReply missSendLength(int missSendLength)
missSendLength
- the miss send lengthInvalidMutableException
- if this instance is no longer writableIllegalArgumentException
- if missSendLength is not u16public Set<ConfigFlag> getFlags()
public int getMissSendLength()
Copyright © 2016. All Rights Reserved.