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 Summary
Constructors Constructor Description InstructionDeserializerRegistryHelper(short version, DeserializerRegistry deserializerRegistry)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
registerDeserializer(int code, OFGeneralDeserializer deserializer)
Registers a deserializer.
-
-
-
Constructor Detail
-
InstructionDeserializerRegistryHelper
public InstructionDeserializerRegistryHelper(short version, DeserializerRegistry deserializerRegistry)
Constructor.- Parameters:
version
- wire protocol versiondeserializerRegistry
- 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 deserializersdeserializer
- deserializer instance
-
-