X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=third-party%2Fopenflow-codec%2Fsrc%2Fmain%2Fjava%2Forg%2Fopenflow%2Fcodec%2Fprotocol%2Ffactory%2FOFPQueuePropertyFactory.java;fp=third-party%2Fopenflow-codec%2Fsrc%2Fmain%2Fjava%2Forg%2Fopenflow%2Fcodec%2Fprotocol%2Ffactory%2FOFPQueuePropertyFactory.java;h=0000000000000000000000000000000000000000;hb=64fe0fbca1a6c2b77ad25f568d73a7eb64236d16;hp=613c5820a1a7a91b86e15e22e12b37ba4fcc976f;hpb=8b9a3ff2bbc83941254b46b818cbbae5cc1a3a5b;p=openflowjava.git diff --git a/third-party/openflow-codec/src/main/java/org/openflow/codec/protocol/factory/OFPQueuePropertyFactory.java b/third-party/openflow-codec/src/main/java/org/openflow/codec/protocol/factory/OFPQueuePropertyFactory.java deleted file mode 100644 index 613c5820..00000000 --- a/third-party/openflow-codec/src/main/java/org/openflow/codec/protocol/factory/OFPQueuePropertyFactory.java +++ /dev/null @@ -1,54 +0,0 @@ -package org.openflow.codec.protocol.factory; - -import java.util.List; - -import org.openflow.codec.io.IDataBuffer; -import org.openflow.codec.protocol.queue.OFPQueueProperty; -import org.openflow.codec.protocol.queue.OFPQueuePropertyType; - -/** - * The interface to factories used for retrieving OFPQueueProperty instances. - * All methods are expected to be thread-safe. - * - * @author David Erickson (daviderickson@cs.stanford.edu) - */ -public interface OFPQueuePropertyFactory { - /** - * Retrieves an OFPQueueProperty instance corresponding to the specified - * OFPQueuePropertyType - * - * @param t - * the type of the OFPQueueProperty to be retrieved - * @return an OFPQueueProperty instance - */ - public OFPQueueProperty getQueueProperty(OFPQueuePropertyType t); - - /** - * Attempts to parse and return all OFQueueProperties contained in the given - * DataBuffer, beginning at the DataBuffer's position, and ending at - * position+length. - * - * @param data - * the DataBuffer to parse for OpenFlow OFQueueProperties - * @param length - * the number of Bytes to examine for OpenFlow OFQueueProperties - * @return a list of OFPQueueProperty instances - */ - public List parseQueueProperties(IDataBuffer data, int length); - - /** - * Attempts to parse and return all OFQueueProperties contained in the given - * DataBuffer, beginning at the DataBuffer's position, and ending at - * position+length. - * - * @param data - * the DataBuffer to parse for OpenFlow OFQueueProperties - * @param length - * the number of Bytes to examine for OpenFlow OFQueueProperties - * @param limit - * the maximum number of OFQueueProperties to return, 0 means no - * limit - * @return a list of OFPQueueProperty instances - */ - public List parseQueueProperties(IDataBuffer data, int length, int limit); -}