2 * Copyright 2012, Andrew Ferguson, Brown University
4 * Licensed under the Apache License, Version 2.0 (the "License"); you may
5 * not use this file except in compliance with the License. You may obtain
6 * a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 * License for the specific language governing permissions and limitations
17 package org.openflow.vendor.openflow;
19 import org.openflow.protocol.Instantiable;
20 import org.openflow.protocol.vendor.OFVendorData;
23 * Class that represents the vendor data in the queue delete request
25 * @author Andrew Ferguson (adf@cs.brown.edu)
27 public class OFQueueDeleteVendorData extends OFQueueVendorData {
29 protected static Instantiable<OFVendorData> instantiable =
30 new Instantiable<OFVendorData>() {
31 public OFVendorData instantiate() {
32 return new OFQueueDeleteVendorData();
37 * @return a subclass of Instantiable<OFVendorData> that instantiates
38 * an instance of OFQueueDeleteVendorData.
40 public static Instantiable<OFVendorData> getInstantiable() {
45 * The data type value for a queue delete request
47 public static final int OFP_EXT_QUEUE_DELETE = 1;
49 public OFQueueDeleteVendorData() {
50 super(OFP_EXT_QUEUE_DELETE);