Class NshNpCodec
java.lang.Object
org.opendaylight.openflowjava.nx.codec.match.AbstractMatchCodec
org.opendaylight.openflowjava.nx.codec.match.AbstractExperimenterMatchCodec
org.opendaylight.openflowjava.nx.codec.match.NshNpCodec
- All Implemented Interfaces:
HeaderDeserializer<MatchEntry>,HeaderSerializer<MatchEntry>,OFDeserializer<MatchEntry>,OFGeneralDeserializer,OFGeneralSerializer,OFSerializer<MatchEntry>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MatchEntryDeserializerKeystatic final MatchEntrySerializerKey<ExperimenterClass, NxmNxNshNp> Fields inherited from class org.opendaylight.openflowjava.nx.codec.match.AbstractMatchCodec
headerWithMask, headerWithoutMask -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected NxExpMatchEntryValuedeserializeValue(io.netty.buffer.ByteBuf message, boolean hasMask) protected org.opendaylight.yangtools.yang.common.Uint32Returns the nxm_field class.intReturns the numeric representation of nxm_field.intReturns the match entry value length.protected voidserializeValue(NxExpMatchEntryValue value, boolean hasMask, io.netty.buffer.ByteBuf outBuffer) Methods inherited from class org.opendaylight.openflowjava.nx.codec.match.AbstractExperimenterMatchCodec
buildHeader, createDeserializerKey, createSerializerKey, deserialize, getOxmClass, getOxmClassCode, serialize, serializeHeaderMethods inherited from class org.opendaylight.openflowjava.nx.codec.match.AbstractMatchCodec
deserializeHeader, deserializeHeaderToBuilder, getHeader, getHeaderWithHasMask, getHeaderWithoutHasMask, serializeHeader
-
Field Details
-
SERIALIZER_KEY
-
DESERIALIZER_KEY
-
-
Constructor Details
-
NshNpCodec
public NshNpCodec()
-
-
Method Details
-
serializeValue
protected void serializeValue(NxExpMatchEntryValue value, boolean hasMask, io.netty.buffer.ByteBuf outBuffer) - Specified by:
serializeValuein classAbstractExperimenterMatchCodec
-
deserializeValue
- Specified by:
deserializeValuein classAbstractExperimenterMatchCodec
-
getNxmFieldCode
public int getNxmFieldCode()Description copied from class:AbstractMatchCodecReturns the numeric representation of nxm_field.- Specified by:
getNxmFieldCodein classAbstractMatchCodec
-
getExperimenterId
protected org.opendaylight.yangtools.yang.common.Uint32 getExperimenterId()- Specified by:
getExperimenterIdin classAbstractExperimenterMatchCodec
-
getValueLength
public int getValueLength()Description copied from class:AbstractMatchCodecReturns the match entry value length.- Specified by:
getValueLengthin classAbstractMatchCodec
-
getNxmField
Description copied from class:AbstractMatchCodecReturns the nxm_field class.- Specified by:
getNxmFieldin classAbstractMatchCodec
-