Class SerializationFactory
java.lang.Object
org.opendaylight.openflowjava.protocol.impl.serialization.SerializationFactory
Serializes messages.
- Author:
- michal.polkorab, timotej.kubas
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
SerializationFactory
-
-
Method Details
-
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
-