Class FlowMessageDeserializer
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.protocol.deserialization.messages.FlowMessageDeserializer
-
- All Implemented Interfaces:
DeserializerRegistryInjector
,OFDeserializer<FlowMessage>
,OFGeneralDeserializer
public class FlowMessageDeserializer extends Object implements OFDeserializer<FlowMessage>, DeserializerRegistryInjector
-
-
Constructor Summary
Constructors Constructor Description FlowMessageDeserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlowMessage
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
-
deserialize
public FlowMessage 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<FlowMessage>
- Parameters:
message
- message as bytes in ByteBuf- Returns:
- POJO/DTO
-
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
-
-