public class OfmMutableTableMod extends OfmTableMod implements MutableMessage
OfmTableMod.OpenflowMessage.Headerlength| Modifier and Type | Method and Description |
|---|---|
void |
clearXid()
Clears the transaction ID field of this message (sets it to 0).
|
OfmMutableTableMod |
config(Set<TableConfig> flags)
Sets the table configuration flags; Since 1.1; Deprecated in 1.3.
|
OfmMutableTableMod |
tableId(TableId tableId)
Sets the table id; Since 1.1.
|
OpenflowMessage |
toImmutable()
Returns an immutable instance of this message.
|
String |
toString() |
boolean |
writable()
Returns true if this mutable object is still writable.
|
getConfig, getTableIddecodeHeader, getType, getVersion, getXid, hex, hex, length, toDebugString, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetVersion, toDebugStringpublic void clearXid()
MutableMessageclearXid in interface MutableMessagepublic 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 MutableMessagepublic boolean writable()
MutableObject#toImmutable() method (defined on a sub-interface)
has not yet been invoked.writable in interface MutableObjectpublic String toString()
toString in class OfmTableModpublic OfmMutableTableMod tableId(TableId tableId)
Note the special values:
TableId.MAX : the maximum allowable value
TableId.ALL : represents all tables
tableId - the table idInvalidMutableException - if this instance is no longer writableVersionMismatchException - if version < 1.1NullPointerException - if tableId is nullpublic OfmMutableTableMod config(Set<TableConfig> flags)
Since 1.3, the table config flags are reserved for future use.
flags - the table configuration flags to setInvalidMutableException - if this instance is no longer writableVersionMismatchException - if version is not 1.1 or 1.2Copyright © 2014. All Rights Reserved.