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
-
Method Summary
Modifier and TypeMethodDescriptionfinal 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
-
Constructor Details
-
AbstractInstructionSerializer
protected AbstractInstructionSerializer(short type)
-
-
Method Details
-
serializeHeader
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
-