blob: 7a42d20533b7d76cc16362b0b092bb3c7f9630af [file] [log] [blame]
Yotam Harcholf3f11152013-09-05 16:47:16 -07001package org.projectfloodlight.openflow.protocol.ver10;
2
3import org.jboss.netty.buffer.ChannelBuffer;
4import org.projectfloodlight.openflow.exceptions.OFParseError;
5import org.projectfloodlight.openflow.protocol.match.Match;
6import org.projectfloodlight.openflow.protocol.ver10.OFMatchV1Ver10;
7import org.projectfloodlight.openflow.protocol.OFBsnVportQInQ;
8
9/**
10 * Collection of helper functions for reading and writing into ChannelBuffers
11 *
12 * @author capveg
13 */
14
15public class ChannelUtilsVer10 {
16 public static Match readOFMatch(final ChannelBuffer bb) throws OFParseError {
17 return OFMatchV1Ver10.READER.readFrom(bb);
18 }
19
20 // TODO these need to be figured out / removed
21 public static OFBsnVportQInQ readOFBsnVportQInQ(ChannelBuffer bb) {
22 throw new UnsupportedOperationException("not implemented");
23 }
24
25 public static void writeOFBsnVportQInQ(ChannelBuffer bb,
26 OFBsnVportQInQ vport) {
27 throw new UnsupportedOperationException("not implemented");
28
29 }
30
31}