Class MatchEntryDeserializerRegistryHelper


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

      • MatchEntryDeserializerRegistryHelper

        public MatchEntryDeserializerRegistryHelper​(short 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 Detail

      • 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)