blob: 735fe3bd6d64e1bd55b5761706553bbdb92fe6db [file] [log] [blame]
Yotam Harcholf3f11152013-09-05 16:47:16 -07001package org.projectfloodlight.openflow.protocol.ver11;
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.ver11.OFMatchV2Ver11;
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 ChannelUtilsVer11 {
17 public static Match readOFMatch(final ChannelBuffer bb) throws OFParseError {
18 return OFMatchV2Ver11.READER.readFrom(bb);
19 }
20
21 // TODO these need to be figured out / removed
22 public static OFBsnVportQInQ readOFBsnVportQInQ(ChannelBuffer bb) {
23 throw new UnsupportedOperationException("not implemented");
24 }
25
26 public static void writeOFBsnVportQInQ(ChannelBuffer bb,
27 OFBsnVportQInQ vport) {
28 throw new UnsupportedOperationException("not implemented");
29 }
30
31
32 public static OFMatchBmap readOFMatchBmap(ChannelBuffer bb) {
33 throw new UnsupportedOperationException("not implemented");
34 }
35
36 public static void writeOFMatchBmap(ChannelBuffer bb, OFMatchBmap match) {
37 throw new UnsupportedOperationException("not implemented");
38 }
39}