Class OutputRegCodec

java.lang.Object
org.opendaylight.openflowjava.nx.codec.action.AbstractActionCodec
org.opendaylight.openflowjava.nx.codec.action.OutputRegCodec
All Implemented Interfaces:
OFDeserializer<Action>, OFGeneralDeserializer, OFGeneralSerializer, OFSerializer<Action>

public class OutputRegCodec extends AbstractActionCodec
Codec for the Nicira OutputRegAction.
Author:
readams
  • Field Details

  • Constructor Details

    • OutputRegCodec

      public OutputRegCodec()
  • Method Details

    • serialize

      public void serialize(Action input, io.netty.buffer.ByteBuf outBuffer)
      Description copied from interface: OFSerializer
      Transforms POJO/DTO into byte message (ByteBuf).
      Parameters:
      input - object to be serialized
      outBuffer - output buffer
    • deserialize

      public Action deserialize(io.netty.buffer.ByteBuf message)
      Description copied from interface: OFDeserializer
      Transforms byte message into POJO/DTO (of type E).
      Parameters:
      message - message as bytes in ByteBuf
      Returns:
      POJO/DTO