public class InstructionSerializerRegistryHelper extends Object
Constructor and Description |
---|
InstructionSerializerRegistryHelper(short version,
SerializerRegistry serializerRegistry)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
<T extends InstructionChoice> |
registerSerializer(Class<T> instructionType,
OFGeneralSerializer serializer)
Registers given serializer.
|
public InstructionSerializerRegistryHelper(short version, SerializerRegistry serializerRegistry)
version
- Openflow wire versionserializerRegistry
- registry to be filled with message serializerspublic <T extends InstructionChoice> void registerSerializer(Class<T> instructionType, OFGeneralSerializer serializer)
instructionType
- instruction typeserializer
- serializer instanceCopyright © 2020 OpenDaylight. All rights reserved.