blob: f3760dd7058f48fa5f2db5ffca744fd2efa4e0a7 [file] [log] [blame]
alshabib86ac11c2014-08-14 16:14:41 -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.ver13;
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 OFMeterBandsVer13 implements OFMeterBands {
29 public final static OFMeterBandsVer13 INSTANCE = new OFMeterBandsVer13();
30
31
32
33
34 public OFMeterBandDrop.Builder buildDrop() {
35 return new OFMeterBandDropVer13.Builder();
36 }
37 public OFMeterBandDrop drop(long rate, long burstSize) {
38 return new OFMeterBandDropVer13(
39 rate,
40 burstSize
41 );
42 }
43
44 public OFMeterBandDscpRemark.Builder buildDscpRemark() {
45 return new OFMeterBandDscpRemarkVer13.Builder();
46 }
47
48 public OFMeterBandExperimenter.Builder buildExperimenter() {
49 return new OFMeterBandExperimenterVer13.Builder();
50 }
51
52 public OFMessageReader<OFMeterBand> getReader() {
53 return OFMeterBandVer13.READER;
54 }
55
56
57 public OFVersion getVersion() {
58 return OFVersion.OF_13;
59 }
60}