public class ErrorMessageFactory extends Object implements OFDeserializer<ErrorMessage>, DeserializerRegistryInjector
Constructor and Description |
---|
ErrorMessageFactory() |
Modifier and Type | Method and Description |
---|---|
ErrorMessage |
deserialize(io.netty.buffer.ByteBuf rawMessage)
Transforms byte message into POJO/DTO (of type E).
|
void |
injectDeserializerRegistry(DeserializerRegistry deserializerRegistry)
Injects deserializer registry into deserializer.
|
public ErrorMessage deserialize(io.netty.buffer.ByteBuf rawMessage)
OFDeserializer
deserialize
in interface OFDeserializer<ErrorMessage>
rawMessage
- message as bytes in ByteBufpublic void injectDeserializerRegistry(DeserializerRegistry deserializerRegistry)
DeserializerRegistryInjector
injectDeserializerRegistry
in interface DeserializerRegistryInjector
deserializerRegistry
- registry of deserializersCopyright © 2020 OpenDaylight. All rights reserved.