public class NspCodec extends AbstractExperimenterMatchCodec
Modifier and Type | Field and Description |
---|---|
static MatchEntryDeserializerKey |
DESERIALIZER_KEY |
static MatchEntrySerializerKey<ExperimenterClass,NxmNxNsp> |
SERIALIZER_KEY |
headerWithMask, headerWithoutMask
Constructor and Description |
---|
NspCodec() |
Modifier and Type | Method and Description |
---|---|
protected NxExpMatchEntryValue |
deserializeValue(io.netty.buffer.ByteBuf message,
boolean hasMask) |
protected long |
getExperimenterId() |
Class<? extends MatchField> |
getNxmField()
Returns the nxm_field class.
|
int |
getNxmFieldCode()
Returns the numeric representation of nxm_field.
|
int |
getValueLength()
Returns the match entry value length.
|
protected void |
serializeValue(NxExpMatchEntryValue value,
boolean hasMask,
io.netty.buffer.ByteBuf outBuffer) |
buildHeader, createDeserializerKey, createSerializerKey, deserialize, getOxmClass, getOxmClassCode, serialize, serializeHeader
deserializeHeader, deserializeHeaderToBuilder, getHeader, getHeaderWithHasMask, getHeaderWithoutHasMask, serializeHeader
public static final MatchEntrySerializerKey<ExperimenterClass,NxmNxNsp> SERIALIZER_KEY
public static final MatchEntryDeserializerKey DESERIALIZER_KEY
protected void serializeValue(NxExpMatchEntryValue value, boolean hasMask, io.netty.buffer.ByteBuf outBuffer)
serializeValue
in class AbstractExperimenterMatchCodec
protected NxExpMatchEntryValue deserializeValue(io.netty.buffer.ByteBuf message, boolean hasMask)
deserializeValue
in class AbstractExperimenterMatchCodec
protected long getExperimenterId()
getExperimenterId
in class AbstractExperimenterMatchCodec
public int getNxmFieldCode()
AbstractMatchCodec
getNxmFieldCode
in class AbstractMatchCodec
public int getValueLength()
AbstractMatchCodec
getValueLength
in class AbstractMatchCodec
public Class<? extends MatchField> getNxmField()
AbstractMatchCodec
getNxmField
in class AbstractMatchCodec
Copyright © 2020 OpenDaylight. All rights reserved.