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 Details

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