List of usage examples for io.netty.buffer ByteBuf readShort
public abstract short readShort();
From source file:com.ltln.modules.openflow.core.protocol.ver10.OFPortModFailedCodeSerializerVer10.java
public static OFPortModFailedCode readFrom(ByteBuf bb) throws OFParseError { try {// w w w . j av a2s . co m return ofWireValue(bb.readShort()); } catch (IllegalArgumentException e) { throw new OFParseError(e); } }
From source file:com.ltln.modules.openflow.core.protocol.ver10.OFQueueOpFailedCodeSerializerVer10.java
public static OFQueueOpFailedCode readFrom(ByteBuf bb) throws OFParseError { try {/* w w w . j a v a 2s.co m*/ return ofWireValue(bb.readShort()); } catch (IllegalArgumentException e) { throw new OFParseError(e); } }
From source file:com.ltln.modules.openflow.core.protocol.ver10.OFStatsReplyFlagsSerializerVer10.java
public static Set<OFStatsReplyFlags> readFrom(ByteBuf bb) throws OFParseError { try {//from ww w. j a va 2s. c om return ofWireValue(bb.readShort()); } catch (IllegalArgumentException e) { throw new OFParseError(e); } }
From source file:com.ltln.modules.openflow.core.protocol.ver10.OFStatsRequestFlagsSerializerVer10.java
public static Set<OFStatsRequestFlags> readFrom(ByteBuf bb) throws OFParseError { try {//from w w w . j av a2s . c o m return ofWireValue(bb.readShort()); } catch (IllegalArgumentException e) { throw new OFParseError(e); } }
From source file:com.ltln.modules.openflow.core.protocol.ver10.OFStatsTypeSerializerVer10.java
public static OFStatsType readFrom(ByteBuf bb) throws OFParseError { try {/*from w ww . ja va 2 s . c o m*/ return ofWireValue(bb.readShort()); } catch (IllegalArgumentException e) { throw new OFParseError(e); } }
From source file:com.ltln.modules.openflow.core.protocol.ver11.OFBadInstructionCodeSerializerVer11.java
public static OFBadInstructionCode readFrom(ByteBuf bb) throws OFParseError { try {/*ww w.j ava2s . c om*/ return ofWireValue(bb.readShort()); } catch (IllegalArgumentException e) { throw new OFParseError(e); } }
From source file:com.ltln.modules.openflow.core.protocol.ver11.OFBadMatchCodeSerializerVer11.java
public static OFBadMatchCode readFrom(ByteBuf bb) throws OFParseError { try {/*from ww w. j av a 2 s . com*/ return ofWireValue(bb.readShort()); } catch (IllegalArgumentException e) { throw new OFParseError(e); } }
From source file:com.ltln.modules.openflow.core.protocol.ver11.OFGroupModCommandSerializerVer11.java
public static OFGroupModCommand readFrom(ByteBuf bb) throws OFParseError { try {// w w w.j a v a2 s . com return ofWireValue(bb.readShort()); } catch (IllegalArgumentException e) { throw new OFParseError(e); } }
From source file:com.ltln.modules.openflow.core.protocol.ver11.OFGroupModFailedCodeSerializerVer11.java
public static OFGroupModFailedCode readFrom(ByteBuf bb) throws OFParseError { try {//from www . jav a2s. com return ofWireValue(bb.readShort()); } catch (IllegalArgumentException e) { throw new OFParseError(e); } }
From source file:com.ltln.modules.openflow.core.protocol.ver11.OFInstructionTypeSerializerVer11.java
public static Set<OFInstructionType> readFrom(ByteBuf bb) throws OFParseError { try {/*w w w.jav a 2 s.c o m*/ return ofWireValue(bb.readShort()); } catch (IllegalArgumentException e) { throw new OFParseError(e); } }