Class VendorMessageFactory
- java.lang.Object
-
- org.opendaylight.openflowjava.protocol.impl.deserialization.factories.VendorMessageFactory
-
- All Implemented Interfaces:
DeserializerRegistryInjector
,OFDeserializer<ExperimenterMessage>
,OFGeneralDeserializer
public class VendorMessageFactory extends Object implements OFDeserializer<ExperimenterMessage>, DeserializerRegistryInjector
Translates ExperimenterMessages.- Author:
- michal.polkorab
-
-
Constructor Summary
Constructors Constructor Description VendorMessageFactory()
-
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
-
-