public class PacketInMessageFactory extends Object implements OFDeserializer<PacketInMessage>, DeserializerRegistryInjector
Constructor and Description |
---|
PacketInMessageFactory() |
Modifier and Type | Method and Description |
---|---|
PacketInMessage |
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 PacketInMessage deserialize(io.netty.buffer.ByteBuf rawMessage)
OFDeserializer
deserialize
in interface OFDeserializer<PacketInMessage>
rawMessage
- message as bytes in ByteBufpublic void injectDeserializerRegistry(DeserializerRegistry deserializerRegistry)
DeserializerRegistryInjector
injectDeserializerRegistry
in interface DeserializerRegistryInjector
deserializerRegistry
- registry of deserializersCopyright © 2020 OpenDaylight. All rights reserved.