Class WriteActionsInstructionSerializer
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.protocol.serialization.instructions.AbstractInstructionSerializer<T>
-
- org.opendaylight.openflowplugin.impl.protocol.serialization.instructions.AbstractActionInstructionSerializer<WriteActionsCase>
-
- org.opendaylight.openflowplugin.impl.protocol.serialization.instructions.WriteActionsInstructionSerializer
-
- All Implemented Interfaces:
HeaderSerializer<WriteActionsCase>
,OFGeneralSerializer
,OFSerializer<WriteActionsCase>
,SerializerRegistryInjector
public class WriteActionsInstructionSerializer extends AbstractActionInstructionSerializer<WriteActionsCase>
-
-
Constructor Summary
Constructors Constructor Description WriteActionsInstructionSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getLength()
Get length.protected int
getType()
Get type.void
serialize(WriteActionsCase input, io.netty.buffer.ByteBuf outBuffer)
Transforms POJO/DTO into byte message (ByteBuf).-
Methods inherited from class org.opendaylight.openflowplugin.impl.protocol.serialization.instructions.AbstractActionInstructionSerializer
injectSerializerRegistry, writeActions
-
Methods inherited from class org.opendaylight.openflowplugin.impl.protocol.serialization.instructions.AbstractInstructionSerializer
serializeHeader
-
-
-
-
Method Detail
-
serialize
public void serialize(WriteActionsCase input, io.netty.buffer.ByteBuf outBuffer)
Description copied from interface:OFSerializer
Transforms POJO/DTO into byte message (ByteBuf).- Specified by:
serialize
in interfaceOFSerializer<WriteActionsCase>
- Overrides:
serialize
in classAbstractActionInstructionSerializer<WriteActionsCase>
- Parameters:
input
- object to be serializedoutBuffer
- output buffer
-
getType
protected int getType()
Description copied from class:AbstractInstructionSerializer
Get type.- Specified by:
getType
in classAbstractInstructionSerializer<WriteActionsCase>
- Returns:
- numeric representation of instruction type.
-
getLength
protected int getLength()
Description copied from class:AbstractInstructionSerializer
Get length.- Specified by:
getLength
in classAbstractInstructionSerializer<WriteActionsCase>
- Returns:
- instruction length.
-
-