alshabib | 86ac11c | 2014-08-14 16:14:41 -0700 | [diff] [blame] | 1 | // 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_interface.java |
| 8 | // Do not modify |
| 9 | |
| 10 | package org.projectfloodlight.openflow.protocol; |
| 11 | |
| 12 | import org.projectfloodlight.openflow.protocol.*; |
| 13 | import org.projectfloodlight.openflow.protocol.action.*; |
| 14 | import org.projectfloodlight.openflow.protocol.actionid.*; |
| 15 | import org.projectfloodlight.openflow.protocol.bsntlv.*; |
| 16 | import org.projectfloodlight.openflow.protocol.errormsg.*; |
| 17 | import org.projectfloodlight.openflow.protocol.meterband.*; |
| 18 | import org.projectfloodlight.openflow.protocol.instruction.*; |
| 19 | import org.projectfloodlight.openflow.protocol.instructionid.*; |
| 20 | import org.projectfloodlight.openflow.protocol.match.*; |
| 21 | import org.projectfloodlight.openflow.protocol.oxm.*; |
| 22 | import org.projectfloodlight.openflow.protocol.queueprop.*; |
| 23 | import org.projectfloodlight.openflow.types.*; |
| 24 | import org.projectfloodlight.openflow.util.*; |
| 25 | import org.projectfloodlight.openflow.exceptions.*; |
| 26 | import java.util.List; |
| 27 | import org.jboss.netty.buffer.ChannelBuffer; |
| 28 | |
| 29 | public interface OFMeterStats extends OFObject { |
| 30 | long getMeterId(); |
| 31 | long getFlowCount(); |
| 32 | U64 getPacketInCount(); |
| 33 | U64 getByteInCount(); |
| 34 | long getDurationSec(); |
| 35 | long getDurationNsec(); |
| 36 | List<OFMeterBandStats> getBandStats(); |
| 37 | OFVersion getVersion(); |
| 38 | |
| 39 | void writeTo(ChannelBuffer channelBuffer); |
| 40 | |
| 41 | Builder createBuilder(); |
| 42 | public interface Builder { |
| 43 | OFMeterStats build(); |
| 44 | long getMeterId(); |
| 45 | Builder setMeterId(long meterId); |
| 46 | long getFlowCount(); |
| 47 | Builder setFlowCount(long flowCount); |
| 48 | U64 getPacketInCount(); |
| 49 | Builder setPacketInCount(U64 packetInCount); |
| 50 | U64 getByteInCount(); |
| 51 | Builder setByteInCount(U64 byteInCount); |
| 52 | long getDurationSec(); |
| 53 | Builder setDurationSec(long durationSec); |
| 54 | long getDurationNsec(); |
| 55 | Builder setDurationNsec(long durationNsec); |
| 56 | List<OFMeterBandStats> getBandStats(); |
| 57 | Builder setBandStats(List<OFMeterBandStats> bandStats); |
| 58 | OFVersion getVersion(); |
| 59 | } |
| 60 | } |