public class CtTpDstCodec extends AbstractMatchCodec
Modifier and Type | Field and Description |
---|---|
static MatchEntryDeserializerKey |
DESERIALIZER_KEY |
static MatchEntrySerializerKey<Nxm1Class,NxmNxCtTpDst> |
SERIALIZER_KEY |
headerWithMask, headerWithoutMask
Constructor and Description |
---|
CtTpDstCodec() |
Modifier and Type | Method and Description |
---|---|
MatchEntry |
deserialize(io.netty.buffer.ByteBuf message)
Transforms byte message into POJO/DTO (of type E).
|
Class<? extends MatchField> |
getNxmField()
Returns the nxm_field class.
|
int |
getNxmFieldCode()
Returns the numeric representation of nxm_field.
|
Class<? extends OxmClassBase> |
getOxmClass()
Returns the oxm_class class.
|
int |
getOxmClassCode()
Returns the numeric representation of oxm_class.
|
int |
getValueLength()
Returns the match entry value length.
|
void |
serialize(MatchEntry input,
io.netty.buffer.ByteBuf outBuffer)
Transforms POJO/DTO into byte message (ByteBuf).
|
buildHeader, deserializeHeader, deserializeHeaderToBuilder, getHeader, getHeaderWithHasMask, getHeaderWithoutHasMask, serializeHeader, serializeHeader
public static final MatchEntrySerializerKey<Nxm1Class,NxmNxCtTpDst> SERIALIZER_KEY
public static final MatchEntryDeserializerKey DESERIALIZER_KEY
public void serialize(MatchEntry input, io.netty.buffer.ByteBuf outBuffer)
OFSerializer
input
- object to be serializedoutBuffer
- output bufferpublic MatchEntry deserialize(io.netty.buffer.ByteBuf message)
OFDeserializer
message
- message as bytes in ByteBufpublic int getNxmFieldCode()
AbstractMatchCodec
getNxmFieldCode
in class AbstractMatchCodec
public int getOxmClassCode()
AbstractMatchCodec
getOxmClassCode
in class AbstractMatchCodec
public int getValueLength()
AbstractMatchCodec
getValueLength
in class AbstractMatchCodec
public Class<? extends MatchField> getNxmField()
AbstractMatchCodec
getNxmField
in class AbstractMatchCodec
public Class<? extends OxmClassBase> getOxmClass()
AbstractMatchCodec
getOxmClass
in class AbstractMatchCodec
Copyright © 2020 OpenDaylight. All rights reserved.