public class OF13MatchSerializer extends Object implements OFSerializer<Match>, SerializerRegistryInjector
Constructor and Description |
---|
OF13MatchSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
injectSerializerRegistry(SerializerRegistry serializerRegistry)
Injects serializer registry.
|
void |
serialize(Match match,
io.netty.buffer.ByteBuf outBuffer)
Transforms POJO/DTO into byte message (ByteBuf).
|
void |
serializeMatchEntries(List<MatchEntry> matchEntries,
io.netty.buffer.ByteBuf out)
Serializes MatchEntries.
|
public void serialize(Match match, io.netty.buffer.ByteBuf outBuffer)
OFSerializer
serialize
in interface OFSerializer<Match>
match
- object to be serializedoutBuffer
- output bufferpublic void serializeMatchEntries(List<MatchEntry> matchEntries, io.netty.buffer.ByteBuf out)
matchEntries
- list of match entries (oxm_fields)out
- output ByteBufpublic void injectSerializerRegistry(SerializerRegistry serializerRegistry)
SerializerRegistryInjector
injectSerializerRegistry
in interface SerializerRegistryInjector
serializerRegistry
- registry instanceCopyright © 2020 OpenDaylight. All rights reserved.