org.projectfloodlight.openflow.protocol.ver15.ChannelUtilsVer15 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openflowj Show documentation
Show all versions of openflowj Show documentation
OpenFlowJ API supporting OpenFlow versions 1.0 through 1.5.1, generated by LoxiGen
The newest version!
package org.projectfloodlight.openflow.protocol.ver15;
import org.projectfloodlight.openflow.exceptions.OFParseError;
import org.projectfloodlight.openflow.protocol.OFMatchBmap;
import org.projectfloodlight.openflow.protocol.match.Match;
import org.projectfloodlight.openflow.protocol.stat.Stat;
import io.netty.buffer.ByteBuf;
/**
* Collection of helper functions for reading and writing into ByteBufs
*
* @author capveg
*/
public class ChannelUtilsVer15 {
public static Match readOFMatch(final ByteBuf bb) throws OFParseError {
return OFMatchV3Ver15.READER.readFrom(bb);
}
public static Stat readOFStat(final ByteBuf bb) throws OFParseError {
return OFStatV6Ver15.READER.readFrom(bb);
}
public static OFMatchBmap readOFMatchBmap(ByteBuf bb) {
throw new UnsupportedOperationException("not implemented");
}
public static void writeOFMatchBmap(ByteBuf bb, OFMatchBmap match) {
throw new UnsupportedOperationException("not implemented");
}
}