public interface DeserializerRegistry
Modifier and Type | Method and Description |
---|---|
<T extends OFGeneralDeserializer> |
getDeserializer(MessageCodeKey key)
Gets the deserializer for the given key.
|
void |
init()
Initializes deserializers.
|
void |
registerDeserializer(MessageCodeKey key,
OFGeneralDeserializer deserializer)
Registers a deserializer.
|
boolean |
unregisterDeserializer(MessageCodeKey key)
Unregisters a deserializer.
|
void init()
<T extends OFGeneralDeserializer> T getDeserializer(MessageCodeKey key)
T
- type of particular deserializerkey
- used for deserializer lookupvoid registerDeserializer(MessageCodeKey key, OFGeneralDeserializer deserializer)
If the deserializer implements DeserializerRegistryInjector
interface,
the deserializer is injected with DeserializerRegistry instance.
key
- used for deserializer lookupdeserializer
- deserializer instanceboolean unregisterDeserializer(MessageCodeKey key)
key
- used for deserializer lookupCopyright © 2020 OpenDaylight. All rights reserved.