List of usage examples for io.netty.buffer ByteBuf readByte
public abstract byte readByte();
From source file:com.ltln.modules.openflow.core.protocol.ver10.OFBsnPduSlotNumSerializerVer10.java
public static OFBsnPduSlotNum readFrom(ByteBuf bb) throws OFParseError { try {//from ww w . j a v a2 s . c om return ofWireValue(bb.readByte()); } catch (IllegalArgumentException e) { throw new OFParseError(e); } }
From source file:com.ltln.modules.openflow.core.protocol.ver10.OFBsnVportStatusSerializerVer10.java
public static OFBsnVportStatus readFrom(ByteBuf bb) throws OFParseError { try {// w w w. j a v a 2 s .c o m return ofWireValue(U8.f(bb.readByte())); } catch (IllegalArgumentException e) { throw new OFParseError(e); } }
From source file:com.ltln.modules.openflow.core.protocol.ver10.OFFlowRemovedReasonSerializerVer10.java
public static OFFlowRemovedReason readFrom(ByteBuf bb) throws OFParseError { try {//from w ww .j a v a2 s . co m return ofWireValue(bb.readByte()); } catch (IllegalArgumentException e) { throw new OFParseError(e); } }
From source file:com.ltln.modules.openflow.core.protocol.ver10.OFPacketInReasonSerializerVer10.java
public static OFPacketInReason readFrom(ByteBuf bb) throws OFParseError { try {/*from ww w. ja v a 2 s . c o m*/ return ofWireValue(bb.readByte()); } catch (IllegalArgumentException e) { throw new OFParseError(e); } }
From source file:com.ltln.modules.openflow.core.protocol.ver10.OFPortReasonSerializerVer10.java
public static OFPortReason readFrom(ByteBuf bb) throws OFParseError { try {//from ww w . ja va 2s . c o m return ofWireValue(bb.readByte()); } catch (IllegalArgumentException e) { throw new OFParseError(e); } }
From source file:com.ltln.modules.openflow.core.protocol.ver10.OFTypeSerializerVer10.java
public static OFType readFrom(ByteBuf bb) throws OFParseError { try {//from w w w . ja va2s. c om return ofWireValue(bb.readByte()); } catch (IllegalArgumentException e) { throw new OFParseError(e); } }
From source file:com.ltln.modules.openflow.core.protocol.ver11.OFFlowModCommandSerializerVer11.java
public static OFFlowModCommand readFrom(ByteBuf bb) throws OFParseError { try {/*from w w w .ja v a 2 s . c o m*/ return ofWireValue(bb.readByte()); } catch (IllegalArgumentException e) { throw new OFParseError(e); } }
From source file:com.ltln.modules.openflow.core.protocol.ver11.OFGroupTypeSerializerVer11.java
public static OFGroupType readFrom(ByteBuf bb) throws OFParseError { try {/*from www . jav a2 s. c o m*/ return ofWireValue(bb.readByte()); } catch (IllegalArgumentException e) { throw new OFParseError(e); } }
From source file:com.ltln.modules.openflow.core.protocol.ver12.OFTableSerializerVer12.java
public static OFTable readFrom(ByteBuf bb) throws OFParseError { try {//from ww w . j a v a2s. c o m return ofWireValue(bb.readByte()); } catch (IllegalArgumentException e) { throw new OFParseError(e); } }
From source file:com.ltln.modules.openflow.core.protocol.ver13.OFBsnControllerConnectionStateSerializerVer13.java
public static OFBsnControllerConnectionState readFrom(ByteBuf bb) throws OFParseError { try {//from w w w. j a va2s .c o m return ofWireValue(bb.readByte()); } catch (IllegalArgumentException e) { throw new OFParseError(e); } }