public class SerializationFactory extends Object
Constructor and Description |
---|
SerializationFactory(SerializerRegistry registry) |
Modifier and Type | Method and Description |
---|---|
void |
messageToBuffer(short version,
io.netty.buffer.ByteBuf out,
org.opendaylight.yangtools.yang.binding.DataObject message)
Transforms POJO message into ByteBuf.
|
public SerializationFactory(SerializerRegistry registry)
public void messageToBuffer(short version, io.netty.buffer.ByteBuf out, org.opendaylight.yangtools.yang.binding.DataObject message)
version
- version used for encoding received messageout
- ByteBuf for storing and sending transformed messagemessage
- POJO messageCopyright © 2020 OpenDaylight. All rights reserved.