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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
injectSerializerRegistry
(SerializerRegistry serializerRegistry) Injects serializer registry.void
serialize
(MultipartRequestFlowStats multipartRequestFlowStats, io.netty.buffer.ByteBuf byteBuf) Transforms POJO/DTO into byte message (ByteBuf).
-
Constructor Details
-
MultipartRequestFlowStatsSerializer
public MultipartRequestFlowStatsSerializer()
-
-
Method Details
-
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
Description copied from interface:SerializerRegistryInjector
Injects serializer registry.- Specified by:
injectSerializerRegistry
in interfaceSerializerRegistryInjector
- Parameters:
serializerRegistry
- registry instance
-