public class SimpleDeserializerRegistryHelper extends Object
Constructor and Description |
---|
SimpleDeserializerRegistryHelper(short version,
DeserializerRegistry deserializerRegistry)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
registerDeserializer(int code,
Class<?> deserializedObjectClass,
OFGeneralDeserializer deserializer)
Register deserializer in registry.
|
public SimpleDeserializerRegistryHelper(short version, DeserializerRegistry deserializerRegistry)
version
- wire protocol versiondeserializerRegistry
- registry to be filled with message deserializerspublic void registerDeserializer(int code, Class<?> deserializedObjectClass, OFGeneralDeserializer deserializer)
code
- code / value to distinguish between deserializersdeserializedObjectClass
- class of object that will be deserialized by given deserializerdeserializer
- deserializer instanceCopyright © 2020 OpenDaylight. All rights reserved.