Class AbstractExperimenterMatchCodec
java.lang.Object
org.opendaylight.openflowjava.nx.codec.match.AbstractMatchCodec
org.opendaylight.openflowjava.nx.codec.match.AbstractExperimenterMatchCodec
- All Implemented Interfaces:
- HeaderDeserializer<MatchEntry>,- HeaderSerializer<MatchEntry>,- OFDeserializer<MatchEntry>,- OFGeneralDeserializer,- OFGeneralSerializer,- OFSerializer<MatchEntry>
- Direct Known Subclasses:
- AbstractNshcCodec,- NshFlagsCodec,- NshMdtypeCodec,- NshNpCodec,- NshTtlCodec,- NsiCodec,- NspCodec
- 
Field SummaryFields inherited from class org.opendaylight.openflowjava.nx.codec.match.AbstractMatchCodecheaderWithMask, headerWithoutMask
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected NxmHeaderbuildHeader(boolean hasMask) protected static MatchEntryDeserializerKeycreateDeserializerKey(org.opendaylight.yangtools.yang.common.Uint8 version, org.opendaylight.yangtools.yang.common.Uint32 expId, int fieldCode) protected static <F extends MatchField>
 MatchEntrySerializerKey<ExperimenterClass,F> createSerializerKey(org.opendaylight.yangtools.yang.common.Uint8 version, org.opendaylight.yangtools.yang.common.Uint32 expId, F oxmField) deserialize(io.netty.buffer.ByteBuf message) Transforms byte message into POJO/DTO (of type E).protected abstract NxExpMatchEntryValuedeserializeValue(io.netty.buffer.ByteBuf message, boolean hasMask) protected abstract @NonNull org.opendaylight.yangtools.yang.common.Uint32Returns the oxm_class class.intReturns the numeric representation of oxm_class.voidserialize(MatchEntry input, io.netty.buffer.ByteBuf outBuffer) Transforms POJO/DTO into byte message (ByteBuf).voidserializeHeader(NxmHeader input, io.netty.buffer.ByteBuf outBuffer) protected abstract voidserializeValue(NxExpMatchEntryValue value, boolean hasMask, io.netty.buffer.ByteBuf outBuffer) Methods inherited from class org.opendaylight.openflowjava.nx.codec.match.AbstractMatchCodecdeserializeHeader, deserializeHeaderToBuilder, getHeader, getHeaderWithHasMask, getHeaderWithoutHasMask, getNxmField, getNxmFieldCode, getValueLength, serializeHeader
- 
Constructor Details- 
AbstractExperimenterMatchCodecpublic AbstractExperimenterMatchCodec()
 
- 
- 
Method Details- 
createSerializerKeyprotected static <F extends MatchField> MatchEntrySerializerKey<ExperimenterClass,F> createSerializerKey(org.opendaylight.yangtools.yang.common.Uint8 version, org.opendaylight.yangtools.yang.common.Uint32 expId, F oxmField) 
- 
createDeserializerKeyprotected static MatchEntryDeserializerKey createDeserializerKey(org.opendaylight.yangtools.yang.common.Uint8 version, org.opendaylight.yangtools.yang.common.Uint32 expId, int fieldCode) 
- 
serializeDescription copied from interface:OFSerializerTransforms POJO/DTO into byte message (ByteBuf).- Parameters:
- input- object to be serialized
- outBuffer- output buffer
 
- 
serializeValueprotected abstract void serializeValue(NxExpMatchEntryValue value, boolean hasMask, io.netty.buffer.ByteBuf outBuffer) 
- 
deserializeDescription copied from interface:OFDeserializerTransforms byte message into POJO/DTO (of type E).- Parameters:
- message- message as bytes in ByteBuf
- Returns:
- POJO/DTO
 
- 
deserializeValueprotected abstract NxExpMatchEntryValue deserializeValue(io.netty.buffer.ByteBuf message, boolean hasMask) 
- 
serializeHeader- Overrides:
- serializeHeaderin class- AbstractMatchCodec
 
- 
buildHeader- Overrides:
- buildHeaderin class- AbstractMatchCodec
 
- 
getOxmClassDescription copied from class:AbstractMatchCodecReturns the oxm_class class.- Specified by:
- getOxmClassin class- AbstractMatchCodec
 
- 
getOxmClassCodepublic int getOxmClassCode()Description copied from class:AbstractMatchCodecReturns the numeric representation of oxm_class.- Specified by:
- getOxmClassCodein class- AbstractMatchCodec
 
- 
getExperimenterIdprotected abstract @NonNull org.opendaylight.yangtools.yang.common.Uint32 getExperimenterId()
 
-