List of usage examples for io.netty.buffer ByteBuf readShort
public abstract short readShort();
From source file:com.ltln.modules.openflow.core.protocol.ver11.OFMatchTypeSerializerVer11.java
public static OFMatchType readFrom(ByteBuf bb) throws OFParseError { try {//from www . ja va 2s . c o m return ofWireValue(bb.readShort()); } catch (IllegalArgumentException e) { throw new OFParseError(e); } }
From source file:com.ltln.modules.openflow.core.protocol.ver11.OFQueuePropertiesSerializerVer11.java
public static OFQueueProperties readFrom(ByteBuf bb) throws OFParseError { try {/*from ww w . jav a 2 s. c om*/ return ofWireValue(bb.readShort()); } catch (IllegalArgumentException e) { throw new OFParseError(e); } }
From source file:com.ltln.modules.openflow.core.protocol.ver11.OFSwitchConfigFailedCodeSerializerVer11.java
public static OFSwitchConfigFailedCode readFrom(ByteBuf bb) throws OFParseError { try {//from ww w . jav a 2 s .co m return ofWireValue(bb.readShort()); } catch (IllegalArgumentException e) { throw new OFParseError(e); } }
From source file:com.ltln.modules.openflow.core.protocol.ver11.OFTableModFailedCodeSerializerVer11.java
public static OFTableModFailedCode readFrom(ByteBuf bb) throws OFParseError { try {//from w w w . ja v a 2s . c o m return ofWireValue(bb.readShort()); } catch (IllegalArgumentException e) { throw new OFParseError(e); } }
From source file:com.ltln.modules.openflow.core.protocol.ver12.OFBsnTcpFlagSerializerVer12.java
public static Set<OFBsnTcpFlag> readFrom(ByteBuf bb) throws OFParseError { try {/*from w w w. j av a 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.ver12.OFControllerMaxLenSerializerVer12.java
public static OFControllerMaxLen readFrom(ByteBuf bb) throws OFParseError { try {/*w w w .java 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.ver12.OFOxmClassSerializerVer12.java
public static OFOxmClass readFrom(ByteBuf bb) throws OFParseError { try {/*from w w w . ja v a 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.ver12.OFRoleRequestFailedCodeSerializerVer12.java
public static OFRoleRequestFailedCode readFrom(ByteBuf bb) throws OFParseError { try {//from www .j a v a 2s .c o m return ofWireValue(bb.readShort()); } catch (IllegalArgumentException e) { throw new OFParseError(e); } }
From source file:com.ltln.modules.openflow.core.protocol.ver13.OFBsnAnchorSerializerVer13.java
public static OFBsnAnchor readFrom(ByteBuf bb) throws OFParseError { try {/*from ww w . java2 s . com*/ return ofWireValue(bb.readShort()); } catch (IllegalArgumentException e) { throw new OFParseError(e); } }
From source file:com.ltln.modules.openflow.core.protocol.ver13.OFBsnDecapSerializerVer13.java
public static OFBsnDecap readFrom(ByteBuf bb) throws OFParseError { try {/*from w w w . j a v a 2 s.c om*/ return ofWireValue(bb.readShort()); } catch (IllegalArgumentException e) { throw new OFParseError(e); } }