Class SerializationFactory
- java.lang.Object
-
- org.opendaylight.openflowjava.protocol.impl.serialization.SerializationFactory
-
public class SerializationFactory extends Object
Serializes messages.- Author:
- michal.polkorab, timotej.kubas
-
-
Constructor Summary
Constructors Constructor Description SerializationFactory(SerializerRegistry registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
messageToBuffer(org.opendaylight.yangtools.yang.common.Uint8 version, io.netty.buffer.ByteBuf out, org.opendaylight.yangtools.yang.binding.DataObject message)
Transforms POJO message into ByteBuf.
-
-
-
Constructor Detail
-
SerializationFactory
public SerializationFactory(SerializerRegistry registry)
-
-
Method Detail
-
messageToBuffer
public void messageToBuffer(org.opendaylight.yangtools.yang.common.Uint8 version, io.netty.buffer.ByteBuf out, org.opendaylight.yangtools.yang.binding.DataObject message)
Transforms POJO message into ByteBuf.- Parameters:
version
- version used for encoding received messageout
- ByteBuf for storing and sending transformed messagemessage
- POJO message
-
-