Class InstructionDeserializerRegistryHelper


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

      • InstructionDeserializerRegistryHelper

        public InstructionDeserializerRegistryHelper​(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