Removed legacy code that wasn't being used.
[openflowjava.git] / third-party / openflow-codec / src / main / java / org / openflow / codec / io / OFMessageInStream.java
diff --git a/third-party/openflow-codec/src/main/java/org/openflow/codec/io/OFMessageInStream.java b/third-party/openflow-codec/src/main/java/org/openflow/codec/io/OFMessageInStream.java
deleted file mode 100644 (file)
index 16c72c9..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- *
- */
-package org.openflow.codec.io;
-
-import java.util.List;
-
-import org.openflow.codec.protocol.OFPMessage;
-import org.openflow.codec.protocol.factory.OFPMessageFactory;
-
-/**
- * Interface for reading OFMessages from a buffered stream
- *
- * @author Rob Sherwood (rob.sherwood@stanford.edu)
- *
- */
-public interface OFMessageInStream {
-    /**
-     * Read OF messages from the stream
-     *
-     * @return a list of OF Messages, empty if no complete messages are
-     *         available, null if the stream has closed
-     */
-    public List<OFPMessage> read() throws java.io.IOException;
-
-    /**
-     * Read OF messages from the stream
-     *
-     * @param limit
-     *            The maximum number of messages to read: 0 means all that are
-     *            buffered
-     * @return a list of OF Messages, empty if no complete messages are
-     *         available, null if the stream has closed
-     *
-     */
-    public List<OFPMessage> read(int limit) throws java.io.IOException;
-
-    /**
-     * Sets the OFPMessageFactory used to create messages on this stream
-     *
-     * @param factory
-     */
-    public void setMessageFactory(OFPMessageFactory factory);
-
-    /**
-     * Returns the OFPMessageFactory used to create messages on this stream
-     *
-     * @return
-     */
-    public OFPMessageFactory getMessageFactory();
-}