Class InstructionDeserializerRegistryHelper

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

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

    • InstructionDeserializerRegistryHelper

      public InstructionDeserializerRegistryHelper(org.opendaylight.yangtools.yang.common.Uint8 version, DeserializerRegistry deserializerRegistry)
      Constructor.
      Parameters:
      version - wire protocol version
      deserializerRegistry - registry to be filled with message deserializers
  • Method Details

    • registerDeserializer

      public void registerDeserializer(int code, OFGeneralDeserializer deserializer)
      Registers a deserializer.
      Parameters:
      code - code / value to distinguish between deserializers
      deserializer - deserializer instance