X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=third-party%2Fopenflow-codec%2Fsrc%2Fmain%2Fjava%2Forg%2Fopenflow%2Fcodec%2Fio%2FOFMessageOutStream.java;fp=third-party%2Fopenflow-codec%2Fsrc%2Fmain%2Fjava%2Forg%2Fopenflow%2Fcodec%2Fio%2FOFMessageOutStream.java;h=0000000000000000000000000000000000000000;hb=64fe0fbca1a6c2b77ad25f568d73a7eb64236d16;hp=67d753d35feeb614ef89aa151909681c21d8f51b;hpb=8b9a3ff2bbc83941254b46b818cbbae5cc1a3a5b;p=openflowjava.git diff --git a/third-party/openflow-codec/src/main/java/org/openflow/codec/io/OFMessageOutStream.java b/third-party/openflow-codec/src/main/java/org/openflow/codec/io/OFMessageOutStream.java deleted file mode 100644 index 67d753d3..00000000 --- a/third-party/openflow-codec/src/main/java/org/openflow/codec/io/OFMessageOutStream.java +++ /dev/null @@ -1,47 +0,0 @@ -/** - * - */ -package org.openflow.codec.io; - -import java.util.List; - -import org.openflow.codec.protocol.OFPMessage; - -/** - * Interface for writing OFMessages to a buffered stream - * - * @author Rob Sherwood (rob.sherwood@stanford.edu) - * - */ -public interface OFMessageOutStream { - /** - * Write an OpenFlow message to the stream - * - * @param m - * An OF Message - */ - public void write(OFPMessage m) throws java.io.IOException; - - /** - * Write an OpenFlow message to the stream. Messages are sent in one large - * write() for efficiency - * - * @param l - * A list of OF Messages - */ - public void write(List l) throws java.io.IOException; - - /** - * Pushes buffered data out the Stream; this is NOT guranteed to flush all - * data, multiple flush() calls may be required, until needFlush() returns - * false. - */ - public void flush() throws java.io.IOException; - - /** - * Is there buffered data that needs to be flushed? - * - * @return true if there is buffered data and flush() should be called - */ - public boolean needsFlush(); -}