Class AbstractNshcCodec
- java.lang.Object
-
- org.opendaylight.openflowjava.nx.codec.match.AbstractMatchCodec
-
- org.opendaylight.openflowjava.nx.codec.match.AbstractExperimenterMatchCodec
-
- org.opendaylight.openflowjava.nx.codec.match.AbstractNshcCodec
-
- All Implemented Interfaces:
HeaderDeserializer<MatchEntry>
,HeaderSerializer<MatchEntry>
,OFDeserializer<MatchEntry>
,OFGeneralDeserializer
,OFGeneralSerializer
,OFSerializer<MatchEntry>
- Direct Known Subclasses:
Nshc1Codec
,Nshc2Codec
,Nshc3Codec
,Nshc4Codec
public abstract class AbstractNshcCodec extends AbstractExperimenterMatchCodec
-
-
Field Summary
-
Fields inherited from class org.opendaylight.openflowjava.nx.codec.match.AbstractMatchCodec
headerWithMask, headerWithoutMask
-
-
Constructor Summary
Constructors Constructor Description AbstractNshcCodec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NxExpMatchEntryValue
deserializeValue(io.netty.buffer.ByteBuf message, boolean hasMask)
protected org.opendaylight.yangtools.yang.common.Uint32
getExperimenterId()
int
getValueLength()
Returns the match entry value length.protected void
serializeValue(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, getNxmField, getNxmFieldCode, serializeHeader
-
-
-
-
Method Detail
-
serializeValue
protected void serializeValue(NxExpMatchEntryValue value, boolean hasMask, io.netty.buffer.ByteBuf outBuffer)
- Specified by:
serializeValue
in classAbstractExperimenterMatchCodec
-
deserializeValue
protected NxExpMatchEntryValue deserializeValue(io.netty.buffer.ByteBuf message, boolean hasMask)
- Specified by:
deserializeValue
in classAbstractExperimenterMatchCodec
-
getExperimenterId
protected org.opendaylight.yangtools.yang.common.Uint32 getExperimenterId()
- Specified by:
getExperimenterId
in classAbstractExperimenterMatchCodec
-
getValueLength
public int getValueLength()
Description copied from class:AbstractMatchCodec
Returns the match entry value length.- Specified by:
getValueLength
in classAbstractMatchCodec
-
-