Class AbstractInstructionSerializer
- java.lang.Object
-
- org.opendaylight.openflowjava.protocol.impl.serialization.instruction.AbstractInstructionSerializer
-
- All Implemented Interfaces:
HeaderSerializer<Instruction>
,OFGeneralSerializer
,OFSerializer<Instruction>
- Direct Known Subclasses:
AbstractActionInstructionSerializer
,ClearActionsInstructionSerializer
,GoToTableInstructionSerializer
,MeterInstructionSerializer
,WriteMetadataInstructionSerializer
public abstract class AbstractInstructionSerializer extends Object implements OFSerializer<Instruction>, HeaderSerializer<Instruction>
Base class for an instruction serializer.- Author:
- michal.polkorab
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractInstructionSerializer(short type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serializeHeader(Instruction input, io.netty.buffer.ByteBuf outBuffer)
Serializes object headers (e.g.-
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
-
serializeHeader
public final void serializeHeader(Instruction input, io.netty.buffer.ByteBuf outBuffer)
Description copied from interface:HeaderSerializer
Serializes object headers (e.g. for Multipart message - Table Features).- Specified by:
serializeHeader
in interfaceHeaderSerializer<Instruction>
- Parameters:
input
- object whose headers should be serializedoutBuffer
- output buffer
-
-