public class OF13SetFieldActionSerializer extends Object implements OFSerializer<Action>, HeaderSerializer<Action>, SerializerRegistryInjector
Constructor and Description |
---|
OF13SetFieldActionSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
injectSerializerRegistry(SerializerRegistry serializerRegistry)
Injects serializer registry.
|
void |
serialize(Action action,
io.netty.buffer.ByteBuf outBuffer)
Transforms POJO/DTO into byte message (ByteBuf).
|
void |
serializeHeader(Action input,
io.netty.buffer.ByteBuf outBuffer)
Serializes object headers (e.g.
|
public void serialize(Action action, io.netty.buffer.ByteBuf outBuffer)
OFSerializer
serialize
in interface OFSerializer<Action>
action
- object to be serializedoutBuffer
- output bufferpublic void serializeHeader(Action input, io.netty.buffer.ByteBuf outBuffer)
HeaderSerializer
serializeHeader
in interface HeaderSerializer<Action>
input
- object whose headers should be serializedoutBuffer
- output bufferpublic void injectSerializerRegistry(SerializerRegistry serializerRegistry)
SerializerRegistryInjector
injectSerializerRegistry
in interface SerializerRegistryInjector
serializerRegistry
- registry instanceCopyright © 2020 OpenDaylight. All rights reserved.