Class MatchEntryDeserializerRegistryHelper

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

public class MatchEntryDeserializerRegistryHelper extends Object
Helper class for registering match entry deserializers.
Author:
michal.polkorab
  • Constructor Details

    • MatchEntryDeserializerRegistryHelper

      public MatchEntryDeserializerRegistryHelper(org.opendaylight.yangtools.yang.common.Uint8 version, int oxmClass, DeserializerRegistry deserializerRegistry)
      Constructor.
      Parameters:
      version - wire protocol version
      oxmClass - oxm_class that will be used for match entry deserializer registration
      deserializerRegistry - registry to be filled with message deserializers
  • Method Details

    • register

      public void register(int oxmField, OFGeneralDeserializer deserializer)
      Registers match entry deserializer under provided oxmfield.
      Parameters:
      oxmField - oxm_field value/code
      deserializer - deserializer instance
    • registerExperimenter

      public void registerExperimenter(int oxmField, org.opendaylight.yangtools.yang.common.Uint32 expId, OFGeneralDeserializer deserializer)