blob: 112c21f73c582230b8cda93db696c7465f511b00 [file] [log] [blame]
tom0eb04ca2014-08-25 14:34:51 -07001// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University
2// Copyright (c) 2011, 2012 Open Networking Foundation
3// Copyright (c) 2012, 2013 Big Switch Networks, Inc.
4// This library was generated by the LoxiGen Compiler.
5// See the file LICENSE.txt which should have been included in the source distribution
6
7// Automatically generated by LOXI from template of_factory_class.java
8// Do not modify
9
10package org.projectfloodlight.openflow.protocol.ver12;
11
12import org.projectfloodlight.openflow.protocol.*;
13import org.projectfloodlight.openflow.protocol.action.*;
14import org.projectfloodlight.openflow.protocol.actionid.*;
15import org.projectfloodlight.openflow.protocol.bsntlv.*;
16import org.projectfloodlight.openflow.protocol.errormsg.*;
17import org.projectfloodlight.openflow.protocol.meterband.*;
18import org.projectfloodlight.openflow.protocol.instruction.*;
19import org.projectfloodlight.openflow.protocol.instructionid.*;
20import org.projectfloodlight.openflow.protocol.match.*;
21import org.projectfloodlight.openflow.protocol.oxm.*;
22import org.projectfloodlight.openflow.protocol.queueprop.*;
23import org.projectfloodlight.openflow.types.*;
24import org.projectfloodlight.openflow.util.*;
25import org.projectfloodlight.openflow.exceptions.*;
26
27
28public class OFQueuePropsVer12 implements OFQueueProps {
29 public final static OFQueuePropsVer12 INSTANCE = new OFQueuePropsVer12();
30
31
32
33
34 public OFQueuePropMinRate.Builder buildMinRate() {
35 return new OFQueuePropMinRateVer12.Builder();
36 }
37 public OFQueuePropMinRate minRate(int rate) {
38 return new OFQueuePropMinRateVer12(
39 rate
40 );
41 }
42
43 public OFQueuePropMaxRate.Builder buildMaxRate() {
44 return new OFQueuePropMaxRateVer12.Builder();
45 }
46 public OFQueuePropMaxRate maxRate(int rate) {
47 return new OFQueuePropMaxRateVer12(
48 rate
49 );
50 }
51
52 public OFMessageReader<OFQueueProp> getReader() {
53 return OFQueuePropVer12.READER;
54 }
55
56
57 public OFVersion getVersion() {
58 return OFVersion.OF_12;
59 }
60}