Class ExperimenterMessageFactory
- java.lang.Object
-
- org.opendaylight.openflowjava.protocol.impl.deserialization.factories.ExperimenterMessageFactory
-
- All Implemented Interfaces:
DeserializerRegistryInjector
,OFDeserializer<ExperimenterMessage>
,OFGeneralDeserializer
public class ExperimenterMessageFactory extends Object implements OFDeserializer<ExperimenterMessage>, DeserializerRegistryInjector
Implementation of OFDeserializer for ExperimenterMessages.- Author:
- michal.polkorab
-
-
Constructor Summary
Constructors Constructor Description ExperimenterMessageFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExperimenterMessage
deserialize(io.netty.buffer.ByteBuf message)
Transforms byte message into POJO/DTO (of type E).void
injectDeserializerRegistry(DeserializerRegistry registry)
Injects deserializer registry into deserializer.
-
-
-
Method Detail
-
deserialize
public ExperimenterMessage 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<ExperimenterMessage>
- Parameters:
message
- message as bytes in ByteBuf- Returns:
- POJO/DTO
-
injectDeserializerRegistry
public void injectDeserializerRegistry(DeserializerRegistry registry)
Description copied from interface:DeserializerRegistryInjector
Injects deserializer registry into deserializer.- Specified by:
injectDeserializerRegistry
in interfaceDeserializerRegistryInjector
- Parameters:
registry
- registry of deserializers
-
-