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