Class FlowModInputMessageFactory
- java.lang.Object
-
- org.opendaylight.openflowjava.protocol.impl.serialization.factories.FlowModInputMessageFactory
-
- All Implemented Interfaces:
OFGeneralSerializer
,OFSerializer<FlowMod>
,SerializerRegistryInjector
public class FlowModInputMessageFactory extends Object implements OFSerializer<FlowMod>, SerializerRegistryInjector
Translates FlowMod messages. OF protocol versions: 1.3.- Author:
- timotej.kubas, michal.polkorab
-
-
Constructor Summary
Constructors Constructor Description FlowModInputMessageFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
injectSerializerRegistry(SerializerRegistry serializerRegistry)
Injects serializer registry.void
serialize(FlowMod message, io.netty.buffer.ByteBuf outBuffer)
Transforms POJO/DTO into byte message (ByteBuf).
-
-
-
Method Detail
-
serialize
public void serialize(FlowMod message, io.netty.buffer.ByteBuf outBuffer)
Description copied from interface:OFSerializer
Transforms POJO/DTO into byte message (ByteBuf).- Specified by:
serialize
in interfaceOFSerializer<FlowMod>
- Parameters:
message
- object to be serializedoutBuffer
- 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
-
-