public final class Mutable extends Object
Constructor and Description |
---|
Mutable() |
Modifier and Type | Method and Description |
---|---|
void |
checkWritable(MutableObject mo)
Checks that this mutable is still writable.
|
void |
invalidate(MutableObject mo)
Invalidates this mutable, marking it forever unwritable.
|
String |
tagString(String s)
Produces a tagged string, showing the writable state.
|
String |
toString() |
boolean |
writable()
Returns true if this mutable is still writable.
|
public void checkWritable(MutableObject mo)
mo
- the enclosing mutable objectpublic void invalidate(MutableObject mo)
mo
- the enclosing mutable objectpublic String tagString(String s)
{tag:...}where
tag
is a short (typically 3 character) tag identifying
the base class. For example, "ofm"
for openflow message, or
"ofs"
for openflow structure.s
- the original stringpublic boolean writable()
Copyright © 2016. All Rights Reserved.