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