tom | 7ef8ff9 | 2014-09-17 13:08:06 -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.List; |
| 27 | import java.util.Set; |
| 28 | import org.jboss.netty.buffer.ChannelBuffer; |
| 29 | |
| 30 | public 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 | } |