Class SerializationFactory


  • public class SerializationFactory
    extends Object
    Serializes messages.
    Author:
    michal.polkorab, timotej.kubas
    • Constructor Detail

    • 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 message
        out - ByteBuf for storing and sending transformed message
        message - POJO message