Class NshTtlCodec
- java.lang.Object
-
- org.opendaylight.openflowjava.nx.codec.match.AbstractMatchCodec
-
- org.opendaylight.openflowjava.nx.codec.match.AbstractExperimenterMatchCodec
-
- org.opendaylight.openflowjava.nx.codec.match.NshTtlCodec
-
- All Implemented Interfaces:
HeaderDeserializer<MatchEntry>,HeaderSerializer<MatchEntry>,OFDeserializer<MatchEntry>,OFGeneralDeserializer,OFGeneralSerializer,OFSerializer<MatchEntry>
public class NshTtlCodec extends AbstractExperimenterMatchCodec
-
-
Field Summary
Fields Modifier and Type Field Description static MatchEntryDeserializerKeyDESERIALIZER_KEYstatic MatchEntrySerializerKey<ExperimenterClass,NxmNxNshTtl>SERIALIZER_KEY-
Fields inherited from class org.opendaylight.openflowjava.nx.codec.match.AbstractMatchCodec
headerWithMask, headerWithoutMask
-
-
Constructor Summary
Constructors Constructor Description NshTtlCodec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NxExpMatchEntryValuedeserializeValue(io.netty.buffer.ByteBuf message, boolean hasMask)protected org.opendaylight.yangtools.yang.common.Uint32getExperimenterId()Class<? extends MatchField>getNxmField()Returns the nxm_field class.intgetNxmFieldCode()Returns the numeric representation of nxm_field.intgetValueLength()Returns 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, serializeHeader
-
Methods inherited from class org.opendaylight.openflowjava.nx.codec.match.AbstractMatchCodec
deserializeHeader, deserializeHeaderToBuilder, getHeader, getHeaderWithHasMask, getHeaderWithoutHasMask, serializeHeader
-
-
-
-
Field Detail
-
SERIALIZER_KEY
public static final MatchEntrySerializerKey<ExperimenterClass,NxmNxNshTtl> SERIALIZER_KEY
-
DESERIALIZER_KEY
public static final MatchEntryDeserializerKey DESERIALIZER_KEY
-
-
Method Detail
-
serializeValue
protected void serializeValue(NxExpMatchEntryValue value, boolean hasMask, io.netty.buffer.ByteBuf outBuffer)
- Specified by:
serializeValuein classAbstractExperimenterMatchCodec
-
deserializeValue
protected NxExpMatchEntryValue deserializeValue(io.netty.buffer.ByteBuf message, boolean hasMask)
- Specified by:
deserializeValuein classAbstractExperimenterMatchCodec
-
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
-
getNxmFieldCode
public int getNxmFieldCode()
Description copied from class:AbstractMatchCodecReturns the numeric representation of nxm_field.- Specified by:
getNxmFieldCodein classAbstractMatchCodec
-
getNxmField
public Class<? extends MatchField> getNxmField()
Description copied from class:AbstractMatchCodecReturns the nxm_field class.- Specified by:
getNxmFieldin classAbstractMatchCodec
-
-