public class OfmMutableGetAsyncReply extends OfmGetAsyncReply implements MutableMessage
OfmGetAsyncReply.OpenflowMessage.Headerlength| Modifier and Type | Method and Description |
|---|---|
void |
clearXid()
Clears the transaction ID field of this message (sets it to 0).
|
OfmMutableGetAsyncReply |
flowRemovedMask(Set<FlowRemovedReason> flags)
Sets the reasons why flow removed messages may be sent to the controller
when it is in the master or equal role; since 1.3.
|
OfmMutableGetAsyncReply |
flowRemovedMaskSlave(Set<FlowRemovedReason> flags)
Sets the reasons why flow removed messages may be sent to the controller
when it is in the slave role; since 1.3.
|
Set<FlowRemovedReason> |
getFlowRemovedMask()
Return the set of reasons why asynchronous flow removed messages are
sent to the controller when it functions in the master or equals role;
since 1.3.
|
Set<PacketInReason> |
getPacketInMask()
Return the set of reasons why asynchronous packet in messages are sent to
the controller when it functions in the master or equal role; since 1.3.
|
Set<PortReason> |
getPortStatusMask()
Return the set of reasons why asynchronous port messages are sent to
the controller when it functions in the master or equal role; since 1.3.
|
Set<FlowRemovedReason> |
getSlaveFlowRemovedMask()
Return the set of reasons why asynchronous flow removed messages are
sent to the controller when it functions in the slave role; since 1.3.
|
Set<PacketInReason> |
getSlavePacketInMask()
Return the set of reasons why asynchronous packet in messages are sent to
the controller when it functions in the slave role; since 1.3.
|
Set<PortReason> |
getSlavePortStatusMask()
Return the set of reasons why asynchronous port messages are sent to
the controller when it functions in the slave role; since 1.3.
|
OfmMutableGetAsyncReply |
pktInMask(Set<PacketInReason> flags)
Sets the reasons why packet in messages may be sent to the controller
when it is in the master or equal role; since 1.3.
|
OfmMutableGetAsyncReply |
pktInMaskSlave(Set<PacketInReason> flags)
Sets the reasons why packet in messages may be sent to the controller
when it is in the slave role; since 1.3.
|
OfmMutableGetAsyncReply |
portStatusMask(Set<PortReason> flags)
Sets the reasons why port status messages may be sent to the controller
when it is in the master or equal role; since 1.3.
|
OfmMutableGetAsyncReply |
portStatusMaskSlave(Set<PortReason> flags)
Sets the reasons why port status messages may be sent to the controller
when it is in the slave role; since 1.3.
|
String |
toDebugString()
Returns a string representation useful for debugging.
|
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, 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()
public OfmMutableGetAsyncReply pktInMask(Set<PacketInReason> flags)
flags - the reasons for sending packet in messagesInvalidMutableException - if this instance is no longer writableNullPointerException - if flags is nullpublic OfmMutableGetAsyncReply pktInMaskSlave(Set<PacketInReason> flags)
flags - the reasons for sending packet in messagesInvalidMutableException - if this instance is no longer writableNullPointerException - if flags is nullpublic OfmMutableGetAsyncReply portStatusMask(Set<PortReason> flags)
flags - the reasons for sending port status messagesInvalidMutableException - if this instance is no longer writableNullPointerException - if flags is nullpublic OfmMutableGetAsyncReply portStatusMaskSlave(Set<PortReason> flags)
flags - the reasons for sending port status messagesInvalidMutableException - if this instance is no longer writableNullPointerException - if flags is nullpublic OfmMutableGetAsyncReply flowRemovedMask(Set<FlowRemovedReason> flags)
flags - the reasons for sending flow removed messagesInvalidMutableException - if this instance is no longer writableNullPointerException - if flags is nullpublic OfmMutableGetAsyncReply flowRemovedMaskSlave(Set<FlowRemovedReason> flags)
flags - the reasons for sending flow removed messagesInvalidMutableException - if this instance is no longer writableNullPointerException - if flags is nullpublic String toDebugString()
OpenflowMessageOpenflowMessage.toString(), but
subclasses are free to override this behavior.toDebugString in interface StructuretoDebugString in class OpenflowMessagepublic Set<PacketInReason> getPacketInMask()
public Set<PacketInReason> getSlavePacketInMask()
public Set<PortReason> getPortStatusMask()
public Set<PortReason> getSlavePortStatusMask()
public Set<FlowRemovedReason> getFlowRemovedMask()
public Set<FlowRemovedReason> getSlaveFlowRemovedMask()
Copyright © 2014. All Rights Reserved.