blob: 756363d8f21b663f450187d6287b394a5af8db8e [file] [log] [blame]
tom0eb04ca2014-08-25 14:34:51 -07001package org.projectfloodlight.openflow.protocol.ver12;
2
3import org.jboss.netty.buffer.ChannelBuffer;
4import org.projectfloodlight.openflow.exceptions.OFParseError;
5import org.projectfloodlight.openflow.protocol.OFMatchBmap;
6import org.projectfloodlight.openflow.protocol.match.Match;
7import org.projectfloodlight.openflow.protocol.ver12.OFMatchV3Ver12;
8import org.projectfloodlight.openflow.protocol.OFBsnVportQInQ;
9
10/**
11 * Collection of helper functions for reading and writing into ChannelBuffers
12 *
13 * @author capveg
14 */
15
16public class ChannelUtilsVer12 {
17 public static Match readOFMatch(final ChannelBuffer bb) throws OFParseError {
18 return OFMatchV3Ver12.READER.readFrom(bb);
19 }
20
21 // TODO these need to be figured out / removed
22
23 public static OFBsnVportQInQ readOFBsnVportQInQ(ChannelBuffer bb) {
24 throw new UnsupportedOperationException("not implemented");
25 }
26
27 public static void writeOFBsnVportQInQ(ChannelBuffer bb,
28 OFBsnVportQInQ vport) {
29 throw new UnsupportedOperationException("not implemented");
30
31 }
32
33 public static OFMatchBmap readOFMatchBmap(ChannelBuffer bb) {
34 throw new UnsupportedOperationException("not implemented");
35 }
36
37 public static void writeOFMatchBmap(ChannelBuffer bb, OFMatchBmap match) {
38 throw new UnsupportedOperationException("not implemented");
39 }
40}