Yotam Harchol | f3f1115 | 2013-09-05 16:47:16 -0700 | [diff] [blame^] | 1 | package org.projectfloodlight.openflow.protocol.ver11; |
| 2 | |
| 3 | import org.jboss.netty.buffer.ChannelBuffer; |
| 4 | import org.projectfloodlight.openflow.exceptions.OFParseError; |
| 5 | import org.projectfloodlight.openflow.protocol.OFMatchBmap; |
| 6 | import org.projectfloodlight.openflow.protocol.match.Match; |
| 7 | import org.projectfloodlight.openflow.protocol.ver11.OFMatchV2Ver11; |
| 8 | import org.projectfloodlight.openflow.protocol.OFBsnVportQInQ; |
| 9 | |
| 10 | /** |
| 11 | * Collection of helper functions for reading and writing into ChannelBuffers |
| 12 | * |
| 13 | * @author capveg |
| 14 | */ |
| 15 | |
| 16 | public 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 | } |