public interface OFActionFactory
Modifier and Type | Method and Description |
---|---|
OFAction |
getAction(OFActionType t)
Retrieves an OFAction instance corresponding to the specified
OFActionType
|
List<OFAction> |
parseActions(org.jboss.netty.buffer.ChannelBuffer data,
int length)
Attempts to parse and return all OFActions contained in the given
ByteBuffer, beginning at the ByteBuffer's position, and ending at
position+length.
|
List<OFAction> |
parseActions(org.jboss.netty.buffer.ChannelBuffer data,
int length,
int limit)
Attempts to parse and return all OFActions contained in the given
ByteBuffer, beginning at the ByteBuffer's position, and ending at
position+length.
|
OFAction getAction(OFActionType t)
t
- the type of the OFAction to be retrievedList<OFAction> parseActions(org.jboss.netty.buffer.ChannelBuffer data, int length)
data
- the ChannelBuffer to parse for OpenFlow actionslength
- the number of Bytes to examine for OpenFlow actionsList<OFAction> parseActions(org.jboss.netty.buffer.ChannelBuffer data, int length, int limit)
data
- the ChannelBuffer to parse for OpenFlow actionslength
- the number of Bytes to examine for OpenFlow actionslimit
- the maximum number of messages to return, 0 means no limitCopyright © 2015. All rights reserved.