Class ActionDeserializerRegistryHelper


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

      • ActionDeserializerRegistryHelper

        public ActionDeserializerRegistryHelper​(short version,
                                                DeserializerRegistry deserializerRegistry)
        Constructor.
        Parameters:
        version - wire protocol version
        deserializerRegistry - registry to be filled with message deserializers
    • Method Detail

      • registerDeserializer

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