Class MultipartRequestFlowStatsSerializer
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.protocol.serialization.multipart.MultipartRequestFlowStatsSerializer
-
- All Implemented Interfaces:
OFGeneralSerializer
,OFSerializer<MultipartRequestFlowStats>
,SerializerRegistryInjector
public class MultipartRequestFlowStatsSerializer extends Object implements OFSerializer<MultipartRequestFlowStats>, SerializerRegistryInjector
-
-
Constructor Summary
Constructors Constructor Description MultipartRequestFlowStatsSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
injectSerializerRegistry(SerializerRegistry serializerRegistry)
Injects serializer registry.void
serialize(MultipartRequestFlowStats multipartRequestFlowStats, io.netty.buffer.ByteBuf byteBuf)
Transforms POJO/DTO into byte message (ByteBuf).
-
-
-
Method Detail
-
serialize
public void serialize(MultipartRequestFlowStats multipartRequestFlowStats, io.netty.buffer.ByteBuf byteBuf)
Description copied from interface:OFSerializer
Transforms POJO/DTO into byte message (ByteBuf).- Specified by:
serialize
in interfaceOFSerializer<MultipartRequestFlowStats>
- Parameters:
multipartRequestFlowStats
- object to be serializedbyteBuf
- output buffer
-
injectSerializerRegistry
public void injectSerializerRegistry(SerializerRegistry serializerRegistry)
Description copied from interface:SerializerRegistryInjector
Injects serializer registry.- Specified by:
injectSerializerRegistry
in interfaceSerializerRegistryInjector
- Parameters:
serializerRegistry
- registry instance
-
-