blob: 186b8a630bfb5e7642309cd15c6a749bf5e13491 [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 org.jboss.netty.buffer.ChannelBuffer;
27
28public interface OFFlowRemoved extends OFObject, OFMessage {
29 OFVersion getVersion();
30 OFType getType();
31 long getXid();
32 U64 getCookie();
33 int getPriority();
34 short getReason();
35 TableId getTableId() throws UnsupportedOperationException;
36 long getDurationSec();
37 long getDurationNsec();
38 int getIdleTimeout();
39 int getHardTimeout() throws UnsupportedOperationException;
40 U64 getPacketCount();
41 U64 getByteCount();
42 Match getMatch();
43
44 void writeTo(ChannelBuffer channelBuffer);
45
46 Builder createBuilder();
47 public interface Builder extends OFMessage.Builder {
48 OFFlowRemoved build();
49 OFVersion getVersion();
50 OFType getType();
51 long getXid();
52 Builder setXid(long xid);
53 U64 getCookie();
54 Builder setCookie(U64 cookie);
55 int getPriority();
56 Builder setPriority(int priority);
57 short getReason();
58 Builder setReason(short reason);
59 TableId getTableId() throws UnsupportedOperationException;
60 Builder setTableId(TableId tableId) throws UnsupportedOperationException;
61 long getDurationSec();
62 Builder setDurationSec(long durationSec);
63 long getDurationNsec();
64 Builder setDurationNsec(long durationNsec);
65 int getIdleTimeout();
66 Builder setIdleTimeout(int idleTimeout);
67 int getHardTimeout() throws UnsupportedOperationException;
68 Builder setHardTimeout(int hardTimeout) throws UnsupportedOperationException;
69 U64 getPacketCount();
70 Builder setPacketCount(U64 packetCount);
71 U64 getByteCount();
72 Builder setByteCount(U64 byteCount);
73 Match getMatch();
74 Builder setMatch(Match match);
75 }
76}