Class OF10StatsReplyMessageFactory
java.lang.Object
org.opendaylight.openflowjava.protocol.impl.serialization.factories.OF10StatsReplyMessageFactory
- All Implemented Interfaces:
OFGeneralSerializer
,OFSerializer<MultipartReplyMessage>
,SerializerRegistryInjector
public class OF10StatsReplyMessageFactory
extends Object
implements OFSerializer<MultipartReplyMessage>, SerializerRegistryInjector
Translates StatsReply messages.
- Author:
- giuseppex.petralia@intel.com
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
injectSerializerRegistry
(SerializerRegistry serializerRegistry) Injects serializer registry.void
serialize
(MultipartReplyMessage message, io.netty.buffer.ByteBuf outBuffer) Transforms POJO/DTO into byte message (ByteBuf).
-
Constructor Details
-
OF10StatsReplyMessageFactory
public OF10StatsReplyMessageFactory()
-
-
Method Details
-
injectSerializerRegistry
Description copied from interface:SerializerRegistryInjector
Injects serializer registry.- Specified by:
injectSerializerRegistry
in interfaceSerializerRegistryInjector
- Parameters:
serializerRegistry
- registry instance
-
serialize
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
-