Class AbstractActionInstructionSerializer<T extends Instruction>
java.lang.Object
org.opendaylight.openflowplugin.impl.protocol.serialization.instructions.AbstractInstructionSerializer<T>
org.opendaylight.openflowplugin.impl.protocol.serialization.instructions.AbstractActionInstructionSerializer<T>
- All Implemented Interfaces:
- HeaderSerializer<T>,- OFGeneralSerializer,- OFSerializer<T>,- SerializerRegistryInjector
- Direct Known Subclasses:
- ApplyActionsInstructionSerializer,- WriteActionsInstructionSerializer
public abstract class AbstractActionInstructionSerializer<T extends Instruction>
extends AbstractInstructionSerializer<T>
implements SerializerRegistryInjector
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidinjectSerializerRegistry(SerializerRegistry serializerRegistry) Injects serializer registry.voidTransforms POJO/DTO into byte message (ByteBuf).protected voidwriteActions(ActionList actions, org.opendaylight.yangtools.yang.common.Uint8 version, io.netty.buffer.ByteBuf outBuffer, int startIndex) Try to write list of OpenFlowPlugin actions to output buffer.Methods inherited from class org.opendaylight.openflowplugin.impl.protocol.serialization.instructions.AbstractInstructionSerializergetLength, getType, serializeHeader
- 
Constructor Details- 
AbstractActionInstructionSerializerpublic AbstractActionInstructionSerializer()
 
- 
- 
Method Details- 
serializeDescription copied from interface:OFSerializerTransforms POJO/DTO into byte message (ByteBuf).- Specified by:
- serializein interface- OFSerializer<T extends Instruction>
- Overrides:
- serializein class- AbstractInstructionSerializer<T extends Instruction>
- Parameters:
- input- object to be serialized
- outBuffer- output buffer
 
- 
writeActionsprotected void writeActions(ActionList actions, org.opendaylight.yangtools.yang.common.Uint8 version, io.netty.buffer.ByteBuf outBuffer, int startIndex) Try to write list of OpenFlowPlugin actions to output buffer.- Parameters:
- actions- List of OpenFlowPlugin actions
- outBuffer- output buffer
- startIndex- start index of byte buffer
 
- 
injectSerializerRegistryDescription copied from interface:SerializerRegistryInjectorInjects serializer registry.- Specified by:
- injectSerializerRegistryin interface- SerializerRegistryInjector
- Parameters:
- serializerRegistry- registry instance
 
 
-