Class WriteActionsInstructionSerializer
- java.lang.Object
-
- org.opendaylight.openflowjava.protocol.impl.serialization.instruction.AbstractInstructionSerializer
-
- org.opendaylight.openflowjava.protocol.impl.serialization.instruction.AbstractActionInstructionSerializer
-
- org.opendaylight.openflowjava.protocol.impl.serialization.instruction.WriteActionsInstructionSerializer
-
- All Implemented Interfaces:
HeaderSerializer<Instruction>
,OFGeneralSerializer
,OFSerializer<Instruction>
,SerializerRegistryInjector
public class WriteActionsInstructionSerializer extends AbstractActionInstructionSerializer
WriteActions instruction serializer.- Author:
- michal.polkorab
-
-
Constructor Summary
Constructors Constructor Description WriteActionsInstructionSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getType()
Returns the numeric representation of action type.void
serialize(Instruction instruction, io.netty.buffer.ByteBuf outBuffer)
Transforms POJO/DTO into byte message (ByteBuf).-
Methods inherited from class org.opendaylight.openflowjava.protocol.impl.serialization.instruction.AbstractActionInstructionSerializer
getRegistry, injectSerializerRegistry, writeActions
-
Methods inherited from class org.opendaylight.openflowjava.protocol.impl.serialization.instruction.AbstractInstructionSerializer
serializeHeader
-
-
-
-
Method Detail
-
serialize
public void serialize(Instruction instruction, io.netty.buffer.ByteBuf outBuffer)
Description copied from interface:OFSerializer
Transforms POJO/DTO into byte message (ByteBuf).- Parameters:
instruction
- object to be serializedoutBuffer
- output buffer
-
getType
protected int getType()
Description copied from class:AbstractInstructionSerializer
Returns the numeric representation of action type.- Specified by:
getType
in classAbstractInstructionSerializer
-
-