blob: 4f04ad8c3b44c4416a2c0801f0980919114f5a0b [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_interface.java
8// Do not modify
9
10package org.projectfloodlight.openflow.protocol;
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.*;
26import org.jboss.netty.buffer.ChannelBuffer;
27
28public 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}