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; |
Yotam Harchol | f3f1115 | 2013-09-05 16:47:16 -0700 | [diff] [blame] | 7 | |
| 8 | /** |
| 9 | * Collection of helper functions for reading and writing into ChannelBuffers |
| 10 | * |
| 11 | * @author capveg |
| 12 | */ |
| 13 | |
| 14 | public class ChannelUtilsVer11 { |
| 15 | public static Match readOFMatch(final ChannelBuffer bb) throws OFParseError { |
| 16 | return OFMatchV2Ver11.READER.readFrom(bb); |
| 17 | } |
| 18 | |
Yotam Harchol | f3f1115 | 2013-09-05 16:47:16 -0700 | [diff] [blame] | 19 | public static OFMatchBmap readOFMatchBmap(ChannelBuffer bb) { |
| 20 | throw new UnsupportedOperationException("not implemented"); |
| 21 | } |
| 22 | |
| 23 | public static void writeOFMatchBmap(ChannelBuffer bb, OFMatchBmap match) { |
| 24 | throw new UnsupportedOperationException("not implemented"); |
| 25 | } |
| 26 | } |