Class ActionSerializerRegistryHelper

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

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

    • ActionSerializerRegistryHelper

      public ActionSerializerRegistryHelper(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 ActionChoice> void registerSerializer(Class<T> actionType, OFGeneralSerializer serializer)
      Registers given serializer.
      Parameters:
      actionType - action type
      serializer - serializer instance