public abstract class AbstractRegCodec extends AbstractMatchCodec
headerWithMask, headerWithoutMask
Constructor and Description |
---|
AbstractRegCodec() |
Modifier and Type | Method and Description |
---|---|
MatchEntry |
deserialize(io.netty.buffer.ByteBuf message)
Transforms byte message into POJO/DTO (of type E).
|
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, getNxmField, getNxmFieldCode, serializeHeader, serializeHeader
public MatchEntry deserialize(io.netty.buffer.ByteBuf message)
OFDeserializer
message
- message as bytes in ByteBufpublic void serialize(MatchEntry input, io.netty.buffer.ByteBuf outBuffer)
OFSerializer
input
- object to be serializedoutBuffer
- output bufferpublic int getOxmClassCode()
AbstractMatchCodec
getOxmClassCode
in class AbstractMatchCodec
public int getValueLength()
AbstractMatchCodec
getValueLength
in class AbstractMatchCodec
public Class<? extends OxmClassBase> getOxmClass()
AbstractMatchCodec
getOxmClass
in class AbstractMatchCodec
Copyright © 2020 OpenDaylight. All rights reserved.