public abstract class AbstractOxmExperimenterMatchEntrySerializer extends AbstractOxmMatchEntrySerializer
Constructor and Description |
---|
AbstractOxmExperimenterMatchEntrySerializer() |
Modifier and Type | Method and Description |
---|---|
protected abstract long |
getExperimenterId()
Returns the Experimenter match entry ID.
|
void |
serialize(MatchEntry entry,
io.netty.buffer.ByteBuf outBuffer)
Transforms POJO/DTO into byte message (ByteBuf).
|
protected ExperimenterIdCase |
serializeExperimenterId(MatchEntry matchEntry,
io.netty.buffer.ByteBuf out) |
void |
serializeHeader(MatchEntry entry,
io.netty.buffer.ByteBuf outBuffer)
Serializes object headers (e.g.
|
protected static void |
writeOxmFieldAndLength(io.netty.buffer.ByteBuf out,
int fieldValue,
boolean hasMask,
int lengthArg) |
getOxmClassCode, getOxmFieldCode, getValueLength, writeMask
public AbstractOxmExperimenterMatchEntrySerializer()
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 bufferpublic void serializeHeader(MatchEntry entry, io.netty.buffer.ByteBuf outBuffer)
HeaderSerializer
serializeHeader
in interface HeaderSerializer<MatchEntry>
serializeHeader
in class AbstractOxmMatchEntrySerializer
entry
- object whose headers should be serializedoutBuffer
- output bufferprotected static void writeOxmFieldAndLength(io.netty.buffer.ByteBuf out, int fieldValue, boolean hasMask, int lengthArg)
protected ExperimenterIdCase serializeExperimenterId(MatchEntry matchEntry, io.netty.buffer.ByteBuf out)
protected abstract long getExperimenterId()
Copyright © 2020 OpenDaylight. All rights reserved.