blob: 0be26ae3c7d0dd485964a937d726d403a44b4faa [file] [log] [blame]
Yotam Harcholf3f11152013-09-05 16:47:16 -07001package org.projectfloodlight.openflow.protocol.ver13;
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.ver13.OFMatchV3Ver13;
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 ChannelUtilsVer13 {
17 public static Match readOFMatch(final ChannelBuffer bb) throws OFParseError {
18 return OFMatchV3Ver13.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 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}