Class ExperimenterInputMessageFactory
java.lang.Object
org.opendaylight.openflowjava.protocol.impl.serialization.factories.ExperimenterInputMessageFactory
- All Implemented Interfaces:
OFGeneralSerializer
,OFSerializer<ExperimenterOfMessage>
,SerializerRegistryInjector
public class ExperimenterInputMessageFactory
extends Object
implements OFSerializer<ExperimenterOfMessage>, SerializerRegistryInjector
Translates Experimenter messages (both: symmetric request and single reply).
- Author:
- michal.polkorab
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
injectSerializerRegistry
(SerializerRegistry serializerRegistry) Injects serializer registry.void
serialize
(ExperimenterOfMessage message, io.netty.buffer.ByteBuf outBuffer) Transforms POJO/DTO into byte message (ByteBuf).
-
Constructor Details
-
ExperimenterInputMessageFactory
public ExperimenterInputMessageFactory()
-
-
Method Details
-
serialize
Description copied from interface:OFSerializer
Transforms POJO/DTO into byte message (ByteBuf).- Specified by:
serialize
in interfaceOFSerializer<ExperimenterOfMessage>
- Parameters:
message
- object to be serializedoutBuffer
- output buffer
-
injectSerializerRegistry
Description copied from interface:SerializerRegistryInjector
Injects serializer registry.- Specified by:
injectSerializerRegistry
in interfaceSerializerRegistryInjector
- Parameters:
serializerRegistry
- registry instance
-