Class GroupModInputMessageFactory
java.lang.Object
org.opendaylight.openflowjava.protocol.impl.serialization.factories.GroupModInputMessageFactory
- All Implemented Interfaces:
OFGeneralSerializer
,OFSerializer<GroupMod$G>
,SerializerRegistryInjector
public class GroupModInputMessageFactory
extends Object
implements OFSerializer<GroupMod$G>, SerializerRegistryInjector
Translates GroupMod messages. OF protocol versions: 1.3.
- Author:
- timotej.kubas, michal.polkorab
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
injectSerializerRegistry
(SerializerRegistry serializerRegistry) Injects serializer registry.void
serialize
(GroupMod$G message, io.netty.buffer.ByteBuf outBuffer) Transforms POJO/DTO into byte message (ByteBuf).
-
Constructor Details
-
GroupModInputMessageFactory
public GroupModInputMessageFactory(boolean isGroupAddModEnaled)
-
-
Method Details
-
serialize
Description copied from interface:OFSerializer
Transforms POJO/DTO into byte message (ByteBuf).- Specified by:
serialize
in interfaceOFSerializer<GroupMod$G>
- Parameters:
message
- object to be serializedoutBuffer
- output buffer
-
injectSerializerRegistry
Description copied from interface:SerializerRegistryInjector
Injects serializer registry.- Specified by:
injectSerializerRegistry
in interfaceSerializerRegistryInjector
- Parameters:
serializerRegistry
- registry instance
-