blob: 56fd5d83a213e89103fccf32786c1bcf6495029a [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.Set;
27import org.jboss.netty.buffer.ChannelBuffer;
28
29public interface OFFlowStatsRequest extends OFObject, OFStatsRequest<OFFlowStatsReply>, OFRequest<OFFlowStatsReply> {
30 OFVersion getVersion();
31 OFType getType();
32 long getXid();
33 OFStatsType getStatsType();
34 Set<OFStatsRequestFlags> getFlags();
35 TableId getTableId();
36 OFPort getOutPort();
37 OFGroup getOutGroup() throws UnsupportedOperationException;
38 U64 getCookie() throws UnsupportedOperationException;
39 U64 getCookieMask() throws UnsupportedOperationException;
40 Match getMatch();
41
42 void writeTo(ChannelBuffer channelBuffer);
43
44 Builder createBuilder();
45 public interface Builder extends OFStatsRequest.Builder<OFFlowStatsReply> {
46 OFFlowStatsRequest build();
47 OFVersion getVersion();
48 OFType getType();
49 long getXid();
50 Builder setXid(long xid);
51 OFStatsType getStatsType();
52 Set<OFStatsRequestFlags> getFlags();
53 Builder setFlags(Set<OFStatsRequestFlags> flags);
54 TableId getTableId();
55 Builder setTableId(TableId tableId);
56 OFPort getOutPort();
57 Builder setOutPort(OFPort outPort);
58 OFGroup getOutGroup() throws UnsupportedOperationException;
59 Builder setOutGroup(OFGroup outGroup) throws UnsupportedOperationException;
60 U64 getCookie() throws UnsupportedOperationException;
61 Builder setCookie(U64 cookie) throws UnsupportedOperationException;
62 U64 getCookieMask() throws UnsupportedOperationException;
63 Builder setCookieMask(U64 cookieMask) throws UnsupportedOperationException;
64 Match getMatch();
65 Builder setMatch(Match match);
66 }
67}