Removed legacy code that wasn't being used.
[openflowjava.git] / third-party / openflow-codec / src / main / java / org / openflow / codec / io / OFMessageOutStream.java
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 (file)
index 67d753d..0000000
+++ /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<OFPMessage> 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();
-}