blob: db9b48614a8a0da956655c51b9edf3369aa054e3 [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_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 java.util.List;
27import java.util.Set;
28import org.jboss.netty.buffer.ChannelBuffer;
29
30public interface OFFlowStatsEntry extends OFObject {
31 TableId getTableId();
32 long getDurationSec();
33 long getDurationNsec();
34 int getPriority();
35 int getIdleTimeout();
36 int getHardTimeout();
37 U64 getCookie();
38 U64 getPacketCount();
39 U64 getByteCount();
40 Match getMatch();
41 List<OFInstruction> getInstructions() throws UnsupportedOperationException;
42 List<OFAction> getActions() throws UnsupportedOperationException;
43 Set<OFFlowModFlags> getFlags() throws UnsupportedOperationException;
44 OFVersion getVersion();
45
46 void writeTo(ChannelBuffer channelBuffer);
47
48 Builder createBuilder();
49 public interface Builder {
50 OFFlowStatsEntry build();
51 TableId getTableId();
52 Builder setTableId(TableId tableId);
53 long getDurationSec();
54 Builder setDurationSec(long durationSec);
55 long getDurationNsec();
56 Builder setDurationNsec(long durationNsec);
57 int getPriority();
58 Builder setPriority(int priority);
59 int getIdleTimeout();
60 Builder setIdleTimeout(int idleTimeout);
61 int getHardTimeout();
62 Builder setHardTimeout(int hardTimeout);
63 U64 getCookie();
64 Builder setCookie(U64 cookie);
65 U64 getPacketCount();
66 Builder setPacketCount(U64 packetCount);
67 U64 getByteCount();
68 Builder setByteCount(U64 byteCount);
69 Match getMatch();
70 Builder setMatch(Match match);
71 List<OFInstruction> getInstructions() throws UnsupportedOperationException;
72 Builder setInstructions(List<OFInstruction> instructions) throws UnsupportedOperationException;
73 List<OFAction> getActions() throws UnsupportedOperationException;
74 Builder setActions(List<OFAction> actions) throws UnsupportedOperationException;
75 Set<OFFlowModFlags> getFlags() throws UnsupportedOperationException;
76 Builder setFlags(Set<OFFlowModFlags> flags) throws UnsupportedOperationException;
77 OFVersion getVersion();
78 }
79}