java.lang.Object
org.opendaylight.openflowjava.protocol.impl.serialization.factories.ErrorMessageFactory
All Implemented Interfaces:
OFGeneralSerializer, OFSerializer<ErrorMessage>

public class ErrorMessageFactory extends Object implements OFSerializer<ErrorMessage>
Translates ErrorMessage messages (both OpenFlow v1.0 and OpenFlow v1.3).
Author:
giuseppex.petralia@intel.com
  • Constructor Details

    • ErrorMessageFactory

      public ErrorMessageFactory()
  • Method Details

    • serialize

      public void serialize(ErrorMessage message, io.netty.buffer.ByteBuf outBuffer)
      Description copied from interface: OFSerializer
      Transforms POJO/DTO into byte message (ByteBuf).
      Specified by:
      serialize in interface OFSerializer<ErrorMessage>
      Parameters:
      message - object to be serialized
      outBuffer - output buffer