Class AbstractActionInstructionSerializer
- java.lang.Object
-
- org.opendaylight.openflowjava.protocol.impl.serialization.instruction.AbstractInstructionSerializer
-
- org.opendaylight.openflowjava.protocol.impl.serialization.instruction.AbstractActionInstructionSerializer
-
- All Implemented Interfaces:
HeaderSerializer<Instruction>
,OFGeneralSerializer
,OFSerializer<Instruction>
,SerializerRegistryInjector
- Direct Known Subclasses:
ApplyActionsInstructionSerializer
,WriteActionsInstructionSerializer
public abstract class AbstractActionInstructionSerializer extends AbstractInstructionSerializer implements SerializerRegistryInjector
Base class for an action instruction serializer.- Author:
- michal.polkorab
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractActionInstructionSerializer(short type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SerializerRegistry
getRegistry()
void
injectSerializerRegistry(SerializerRegistry serializerRegistry)
Injects serializer registry.protected void
writeActions(List<Action> actions, io.netty.buffer.ByteBuf outBuffer, int startIndex)
-
Methods inherited from class org.opendaylight.openflowjava.protocol.impl.serialization.instruction.AbstractInstructionSerializer
serializeHeader
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opendaylight.openflowjava.protocol.api.extensibility.OFSerializer
serialize
-
-
-
-
Method Detail
-
writeActions
protected final void writeActions(List<Action> actions, io.netty.buffer.ByteBuf outBuffer, int startIndex)
-
getRegistry
protected final SerializerRegistry getRegistry()
-
injectSerializerRegistry
public final void injectSerializerRegistry(SerializerRegistry serializerRegistry)
Description copied from interface:SerializerRegistryInjector
Injects serializer registry.- Specified by:
injectSerializerRegistry
in interfaceSerializerRegistryInjector
- Parameters:
serializerRegistry
- registry instance
-
-