blob: d14aa42b04d4777129ce853cf353a9a01c9deddf [file] [log] [blame]
tom0eb04ca2014-08-25 14:34:51 -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.oxm;
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 OFOxm<T extends OFValueType<T>> extends OFObject {
29 long getTypeLen();
30 T getValue();
31 T getMask();
32 MatchField<T> getMatchField();
33 boolean isMasked();
34 OFOxm<T> getCanonical();
35 OFVersion getVersion();
36
37 void writeTo(ChannelBuffer channelBuffer);
38
39 Builder<T> createBuilder();
40 public interface Builder<T extends OFValueType<T>> {
41 OFOxm<T> build();
42 long getTypeLen();
43 T getValue();
44 T getMask();
45 MatchField<T> getMatchField();
46 boolean isMasked();
47 OFOxm<T> getCanonical();
48 OFVersion getVersion();
49 }
50}