public class CommonMessageRegistryHelper extends Object
Constructor and Description |
---|
CommonMessageRegistryHelper(short version,
SerializerRegistry serializerRegistry)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
registerSerializer(Class<?> msgType,
OFGeneralSerializer serializer)
Registers serializer in registry.
|
public CommonMessageRegistryHelper(short version, SerializerRegistry serializerRegistry)
version
- wire protocol versionserializerRegistry
- registry to be filled with message serializerspublic void registerSerializer(Class<?> msgType, OFGeneralSerializer serializer)
msgType
- class of object that will be serialized by given serializerserializer
- serializer instanceCopyright © 2020 OpenDaylight. All rights reserved.