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 java.util.Set; |
| 27 | import java.util.List; |
| 28 | import org.jboss.netty.buffer.ChannelBuffer; |
| 29 | |
| 30 | public interface OFFlowAdd extends OFObject, OFFlowMod { |
| 31 | OFVersion getVersion(); |
| 32 | OFType getType(); |
| 33 | long getXid(); |
| 34 | U64 getCookie(); |
| 35 | U64 getCookieMask() throws UnsupportedOperationException; |
| 36 | TableId getTableId() throws UnsupportedOperationException; |
| 37 | OFFlowModCommand getCommand(); |
| 38 | int getIdleTimeout(); |
| 39 | int getHardTimeout(); |
| 40 | int getPriority(); |
| 41 | OFBufferId getBufferId(); |
| 42 | OFPort getOutPort(); |
| 43 | OFGroup getOutGroup() throws UnsupportedOperationException; |
| 44 | Set<OFFlowModFlags> getFlags(); |
| 45 | Match getMatch(); |
| 46 | List<OFInstruction> getInstructions() throws UnsupportedOperationException; |
| 47 | List<OFAction> getActions() throws UnsupportedOperationException; |
| 48 | |
| 49 | void writeTo(ChannelBuffer channelBuffer); |
| 50 | |
| 51 | Builder createBuilder(); |
| 52 | public interface Builder extends OFFlowMod.Builder { |
| 53 | OFFlowAdd build(); |
| 54 | OFVersion getVersion(); |
| 55 | OFType getType(); |
| 56 | long getXid(); |
| 57 | Builder setXid(long xid); |
| 58 | U64 getCookie(); |
| 59 | Builder setCookie(U64 cookie); |
| 60 | U64 getCookieMask() throws UnsupportedOperationException; |
| 61 | Builder setCookieMask(U64 cookieMask) throws UnsupportedOperationException; |
| 62 | TableId getTableId() throws UnsupportedOperationException; |
| 63 | Builder setTableId(TableId tableId) throws UnsupportedOperationException; |
| 64 | OFFlowModCommand getCommand(); |
| 65 | int getIdleTimeout(); |
| 66 | Builder setIdleTimeout(int idleTimeout); |
| 67 | int getHardTimeout(); |
| 68 | Builder setHardTimeout(int hardTimeout); |
| 69 | int getPriority(); |
| 70 | Builder setPriority(int priority); |
| 71 | OFBufferId getBufferId(); |
| 72 | Builder setBufferId(OFBufferId bufferId); |
| 73 | OFPort getOutPort(); |
| 74 | Builder setOutPort(OFPort outPort); |
| 75 | OFGroup getOutGroup() throws UnsupportedOperationException; |
| 76 | Builder setOutGroup(OFGroup outGroup) throws UnsupportedOperationException; |
| 77 | Set<OFFlowModFlags> getFlags(); |
| 78 | Builder setFlags(Set<OFFlowModFlags> flags); |
| 79 | Match getMatch(); |
| 80 | Builder setMatch(Match match); |
| 81 | List<OFInstruction> getInstructions() throws UnsupportedOperationException; |
| 82 | Builder setInstructions(List<OFInstruction> instructions) throws UnsupportedOperationException; |
| 83 | List<OFAction> getActions() throws UnsupportedOperationException; |
| 84 | Builder setActions(List<OFAction> actions) throws UnsupportedOperationException; |
| 85 | } |
| 86 | } |