blob: 50acc7f25aaf546f6da0490c05bcbaa942fd5563 [file] [log] [blame]
package org.openflow.protocol.ver10;
import org.jboss.netty.buffer.ChannelBuffer;
import org.openflow.exceptions.OFParseError;
import org.openflow.protocol.OFBsnVportQInQ;
import org.openflow.protocol.match.Match;
/**
* Collection of helper functions for reading and writing into ChannelBuffers
*
* @author capveg
*/
public class ChannelUtilsVer10 {
public static Match readOFMatch(final ChannelBuffer bb) throws OFParseError {
return OFMatchV1Ver10.READER.readFrom(bb);
}
// TODO these need to be figured out / removed
public static OFBsnVportQInQ readOFBsnVportQInQ(ChannelBuffer bb) {
throw new UnsupportedOperationException("not implemented");
}
public static void writeOFBsnVportQInQ(ChannelBuffer bb,
OFBsnVportQInQ vport) {
throw new UnsupportedOperationException("not implemented");
}
}