|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OFMessageFactory
The interface to factories used for retrieving OFMessage instances. All methods are expected to be thread-safe.
Method Summary | |
---|---|
OFInstructionFactory |
getInstructionFactory()
Retrieves an OFInstructionFactory |
OFMessage |
getMessage(OFType t)
Retrieves an OFMessage instance corresponding to the specified OFType |
java.util.List<OFMessage> |
parseMessages(java.nio.ByteBuffer data)
Attempts to parse and return all OFMessages contained in the given ByteBuffer, beginning at the ByteBuffer's position, and ending at the ByteBuffer's limit. |
java.util.List<OFMessage> |
parseMessages(java.nio.ByteBuffer data,
int limit)
Attempts to parse and return all OFMessages contained in the given ByteBuffer, beginning at the ByteBuffer's position, and ending at the ByteBuffer's limit. |
Method Detail |
---|
OFMessage getMessage(OFType t)
t
- the type of the OFMessage to be retrieved
java.util.List<OFMessage> parseMessages(java.nio.ByteBuffer data)
data
- the ByteBuffer to parse for an OpenFlow message
java.util.List<OFMessage> parseMessages(java.nio.ByteBuffer data, int limit)
data
- the ByteBuffer to parse for an OpenFlow messagelimit
- the maximum number of messages to return, 0 means no limit
OFInstructionFactory getInstructionFactory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |