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 org.jboss.netty.buffer.ChannelBuffer; |
| 27 | |
| 28 | public interface OFQueueStatsEntry extends OFObject { |
| 29 | OFPort getPortNo(); |
| 30 | long getQueueId(); |
| 31 | U64 getTxBytes(); |
| 32 | U64 getTxPackets(); |
| 33 | U64 getTxErrors(); |
| 34 | long getDurationSec() throws UnsupportedOperationException; |
| 35 | long getDurationNsec() throws UnsupportedOperationException; |
| 36 | OFVersion getVersion(); |
| 37 | |
| 38 | void writeTo(ChannelBuffer channelBuffer); |
| 39 | |
| 40 | Builder createBuilder(); |
| 41 | public interface Builder { |
| 42 | OFQueueStatsEntry build(); |
| 43 | OFPort getPortNo(); |
| 44 | Builder setPortNo(OFPort portNo); |
| 45 | long getQueueId(); |
| 46 | Builder setQueueId(long queueId); |
| 47 | U64 getTxBytes(); |
| 48 | Builder setTxBytes(U64 txBytes); |
| 49 | U64 getTxPackets(); |
| 50 | Builder setTxPackets(U64 txPackets); |
| 51 | U64 getTxErrors(); |
| 52 | Builder setTxErrors(U64 txErrors); |
| 53 | long getDurationSec() throws UnsupportedOperationException; |
| 54 | Builder setDurationSec(long durationSec) throws UnsupportedOperationException; |
| 55 | long getDurationNsec() throws UnsupportedOperationException; |
| 56 | Builder setDurationNsec(long durationNsec) throws UnsupportedOperationException; |
| 57 | OFVersion getVersion(); |
| 58 | } |
| 59 | } |