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