Class InstructionSerializerRegistryHelper
- java.lang.Object
-
- org.opendaylight.openflowjava.protocol.impl.util.InstructionSerializerRegistryHelper
-
public class InstructionSerializerRegistryHelper extends Object
Helper class for registering instruction serializers.- Author:
- michal.polkorab
-
-
Constructor Summary
Constructors Constructor Description InstructionSerializerRegistryHelper(org.opendaylight.yangtools.yang.common.Uint8 version, SerializerRegistry serializerRegistry)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends InstructionChoice>
voidregisterSerializer(Class<T> instructionType, OFGeneralSerializer serializer)
Registers given serializer.
-
-
-
Constructor Detail
-
InstructionSerializerRegistryHelper
public InstructionSerializerRegistryHelper(org.opendaylight.yangtools.yang.common.Uint8 version, SerializerRegistry serializerRegistry)
Constructor.- Parameters:
version
- Openflow wire versionserializerRegistry
- registry to be filled with message serializers
-
-
Method Detail
-
registerSerializer
public <T extends InstructionChoice> void registerSerializer(Class<T> instructionType, OFGeneralSerializer serializer)
Registers given serializer.- Parameters:
instructionType
- instruction typeserializer
- serializer instance
-
-