Class PacketInMessageDeserializer
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.protocol.deserialization.messages.PacketInMessageDeserializer
-
- All Implemented Interfaces:
DeserializerRegistryInjector
,OFDeserializer<PacketInMessage>
,OFGeneralDeserializer
public class PacketInMessageDeserializer extends Object implements OFDeserializer<PacketInMessage>, DeserializerRegistryInjector
-
-
Constructor Summary
Constructors Constructor Description PacketInMessageDeserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PacketInMessage
deserialize(io.netty.buffer.ByteBuf message)
Transforms byte message into POJO/DTO (of type E).void
injectDeserializerRegistry(DeserializerRegistry deserializerRegistry)
Injects deserializer registry into deserializer.
-
-
-
Method Detail
-
injectDeserializerRegistry
public void injectDeserializerRegistry(DeserializerRegistry deserializerRegistry)
Description copied from interface:DeserializerRegistryInjector
Injects deserializer registry into deserializer.- Specified by:
injectDeserializerRegistry
in interfaceDeserializerRegistryInjector
- Parameters:
deserializerRegistry
- registry of deserializers
-
deserialize
public PacketInMessage deserialize(io.netty.buffer.ByteBuf message)
Description copied from interface:OFDeserializer
Transforms byte message into POJO/DTO (of type E).- Specified by:
deserialize
in interfaceOFDeserializer<PacketInMessage>
- Parameters:
message
- message as bytes in ByteBuf- Returns:
- POJO/DTO
-
-