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 Constructor Description AbstractInstructionSerializer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract int
getType()
Returns the numeric representation of action type.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 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
-
getType
protected abstract int getType()
Returns the numeric representation of action type.
-
-