Class MultipartReplyMessageFactory
- java.lang.Object
-
- org.opendaylight.openflowjava.protocol.impl.serialization.factories.MultipartReplyMessageFactory
-
- All Implemented Interfaces:
OFGeneralSerializer
,OFSerializer<MultipartReplyMessage>
,SerializerRegistryInjector
public class MultipartReplyMessageFactory extends Object implements OFSerializer<MultipartReplyMessage>, SerializerRegistryInjector
Translates MultipartReply messages.- Author:
- giuseppex.petralia@intel.com
-
-
Constructor Summary
Constructors Constructor Description MultipartReplyMessageFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
injectSerializerRegistry(SerializerRegistry serializerRegistry)
Injects serializer registry.void
serialize(MultipartReplyMessage message, io.netty.buffer.ByteBuf outBuffer)
Transforms POJO/DTO into byte message (ByteBuf).
-
-
-
Method Detail
-
injectSerializerRegistry
public void injectSerializerRegistry(SerializerRegistry serializerRegistry)
Description copied from interface:SerializerRegistryInjector
Injects serializer registry.- Specified by:
injectSerializerRegistry
in interfaceSerializerRegistryInjector
- Parameters:
serializerRegistry
- registry instance
-
serialize
public void serialize(MultipartReplyMessage message, io.netty.buffer.ByteBuf outBuffer)
Description copied from interface:OFSerializer
Transforms POJO/DTO into byte message (ByteBuf).- Specified by:
serialize
in interfaceOFSerializer<MultipartReplyMessage>
- Parameters:
message
- object to be serializedoutBuffer
- output buffer
-
-