public class OxmPbbIsidSerializer extends AbstractOxmMatchEntrySerializer
Constructor and Description |
---|
OxmPbbIsidSerializer() |
Modifier and Type | Method and Description |
---|---|
protected int |
getOxmClassCode()
Returns the numeric representation of oxm_class.
|
protected int |
getOxmFieldCode()
Returns the numeric representation of oxm_field.
|
protected int |
getValueLength()
Returns the match entry value length (without mask length).
|
void |
serialize(MatchEntry entry,
io.netty.buffer.ByteBuf outBuffer)
Transforms POJO/DTO into byte message (ByteBuf).
|
serializeHeader, writeMask, writeOxmFieldAndLength
public void serialize(MatchEntry entry, io.netty.buffer.ByteBuf outBuffer)
OFSerializer
serialize
in interface OFSerializer<MatchEntry>
serialize
in class AbstractOxmMatchEntrySerializer
entry
- object to be serializedoutBuffer
- output bufferprotected int getOxmClassCode()
AbstractOxmMatchEntrySerializer
getOxmClassCode
in class AbstractOxmMatchEntrySerializer
protected int getOxmFieldCode()
AbstractOxmMatchEntrySerializer
getOxmFieldCode
in class AbstractOxmMatchEntrySerializer
protected int getValueLength()
AbstractOxmMatchEntrySerializer
getValueLength
in class AbstractOxmMatchEntrySerializer
Copyright © 2020 OpenDaylight. All rights reserved.