|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OFMessageInStream
Interface for reading OFMessages from a buffered stream
| Method Summary | |
|---|---|
OFMessageFactory |
getMessageFactory()
Returns the OFMessageFactory used to create messages on this stream |
java.util.List<OFMessage> |
read()
Read OF messages from the stream |
java.util.List<OFMessage> |
read(int limit)
Read OF messages from the stream |
void |
setMessageFactory(OFMessageFactory factory)
Sets the OFMessageFactory used to create messages on this stream |
| Method Detail |
|---|
java.util.List<OFMessage> read()
throws java.io.IOException
java.io.IOException
java.util.List<OFMessage> read(int limit)
throws java.io.IOException
limit - The maximum number of messages to read: 0 means all that are
buffered
java.io.IOExceptionvoid setMessageFactory(OFMessageFactory factory)
factory - OFMessageFactory getMessageFactory()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||