|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OFActionFactory
The interface to factories used for retrieving OFAction instances. All methods are expected to be thread-safe.
Method Summary | |
---|---|
OFAction |
getAction(OFActionType t)
Retrieves an OFAction instance corresponding to the specified OFActionType |
java.util.List<OFAction> |
parseActions(java.nio.ByteBuffer 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. |
java.util.List<OFAction> |
parseActions(java.nio.ByteBuffer 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. |
Method Detail |
---|
OFAction getAction(OFActionType t)
t
- the type of the OFAction to be retrieved
java.util.List<OFAction> parseActions(java.nio.ByteBuffer data, int length)
data
- the ByteBuffer to parse for OpenFlow actionslength
- the number of Bytes to examine for OpenFlow actions
java.util.List<OFAction> parseActions(java.nio.ByteBuffer data, int length, int limit)
data
- the ByteBuffer to parse for OpenFlow actionslength
- the number of Bytes to examine for OpenFlow actionslimit
- the maximum number of messages to return, 0 means no limit
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |