Class InstructionSerializerRegistryHelper

java.lang.Object
org.opendaylight.openflowjava.protocol.impl.util.InstructionSerializerRegistryHelper

public class InstructionSerializerRegistryHelper extends Object
Helper class for registering instruction serializers.
Author:
michal.polkorab
  • Constructor Details

    • InstructionSerializerRegistryHelper

      public InstructionSerializerRegistryHelper(org.opendaylight.yangtools.yang.common.Uint8 version, SerializerRegistry serializerRegistry)
      Constructor.
      Parameters:
      version - Openflow wire version
      serializerRegistry - registry to be filled with message serializers
  • Method Details

    • registerSerializer

      public <T extends InstructionChoice> void registerSerializer(Class<T> instructionType, OFGeneralSerializer serializer)
      Registers given serializer.
      Parameters:
      instructionType - instruction type
      serializer - serializer instance