java.lang.Object
org.opendaylight.openflowplugin.impl.protocol.serialization.multipart.tablefeatures.AbstractTablePropertySerializer<T>
All Implemented Interfaces:
OFGeneralSerializer, OFSerializer<TableFeaturePropType>
Direct Known Subclasses:
ApplyActionsMissTablePropertySerializer, ApplyActionsTablePropertySerializer, ApplySetfieldMissTablePropertySerializer, ApplySetfieldTablePropertySerializer, InstructionsMissTablePropertySerializer, InstructionsTablePropertySerializer, MatchTablePropertySerializer, NextTableMissTablePropertySerializer, NextTableTablePropertySerializer, WildcardsTablePropertySerializer, WriteActionsMissTablePropertySerializer, WriteActionsTablePropertySerializer, WriteSetfieldMissTablePropertySerializer, WriteSetfieldTablePropertySerializer

public abstract class AbstractTablePropertySerializer<T extends TableFeaturePropType> extends Object implements OFSerializer<TableFeaturePropType>
  • Constructor Details

    • AbstractTablePropertySerializer

      public AbstractTablePropertySerializer()
  • Method Details

    • serialize

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

      protected abstract void serializeProperty(T property, io.netty.buffer.ByteBuf byteBuf)
    • getType

      protected abstract TableFeaturesPropType getType()
    • getClazz

      protected abstract Class<T> getClazz()