public class OnfOxmTcpFlagsSerializer extends AbstractOxmExperimenterMatchEntrySerializer
Constructor and Description |
---|
OnfOxmTcpFlagsSerializer() |
Modifier and Type | Method and Description |
---|---|
protected long |
getExperimenterId()
Returns the Experimenter match entry ID.
|
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).
|
serializeExperimenterId, serializeHeader, writeOxmFieldAndLength
writeMask
public void serialize(MatchEntry entry, io.netty.buffer.ByteBuf outBuffer)
OFSerializer
serialize
in interface OFSerializer<MatchEntry>
serialize
in class AbstractOxmExperimenterMatchEntrySerializer
entry
- object to be serializedoutBuffer
- output bufferprotected long getExperimenterId()
getExperimenterId
in class AbstractOxmExperimenterMatchEntrySerializer
protected int getOxmFieldCode()
getOxmFieldCode
in class AbstractOxmMatchEntrySerializer
protected int getOxmClassCode()
getOxmClassCode
in class AbstractOxmMatchEntrySerializer
protected int getValueLength()
getValueLength
in class AbstractOxmMatchEntrySerializer
Copyright © 2020 OpenDaylight. All rights reserved.