Class AbstractInstructionSerializer

java.lang.Object
org.opendaylight.openflowjava.protocol.impl.serialization.instruction.AbstractInstructionSerializer
All Implemented Interfaces:
HeaderSerializer<Instruction>, OFGeneralSerializer, OFSerializer<Instruction>
Direct Known Subclasses:
AbstractActionInstructionSerializer, ClearActionsInstructionSerializer, GoToTableInstructionSerializer, MeterInstructionSerializer, WriteMetadataInstructionSerializer

public abstract class AbstractInstructionSerializer extends Object implements OFSerializer<Instruction>, HeaderSerializer<Instruction>
Base class for an instruction serializer.
Author:
michal.polkorab
  • Constructor Details

    • AbstractInstructionSerializer

      protected AbstractInstructionSerializer(short type)
  • Method Details

    • serializeHeader

      public final void serializeHeader(Instruction input, io.netty.buffer.ByteBuf outBuffer)
      Description copied from interface: HeaderSerializer
      Serializes object headers (e.g. for Multipart message - Table Features).
      Specified by:
      serializeHeader in interface HeaderSerializer<Instruction>
      Parameters:
      input - object whose headers should be serialized
      outBuffer - output buffer