Yotam Harchol | f3f1115 | 2013-09-05 16:47:16 -0700 | [diff] [blame] | 1 | package org.projectfloodlight.openflow.protocol.ver13; |
| 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.ver13.OFMatchV3Ver13; |
| 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 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 | } |