Class WriteActionsInstructionSerializer
java.lang.Object
org.opendaylight.openflowplugin.impl.protocol.serialization.instructions.AbstractInstructionSerializer<WriteActionsCase>
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected intGet length.protected intgetType()Get type.voidserialize(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, writeActionsMethods inherited from class org.opendaylight.openflowplugin.impl.protocol.serialization.instructions.AbstractInstructionSerializer
serializeHeader
-
Constructor Details
-
WriteActionsInstructionSerializer
public WriteActionsInstructionSerializer()
-
-
Method Details
-
serialize
Description copied from interface:OFSerializerTransforms POJO/DTO into byte message (ByteBuf).- Specified by:
serializein interfaceOFSerializer<WriteActionsCase>- Overrides:
serializein classAbstractActionInstructionSerializer<WriteActionsCase>- Parameters:
input- object to be serializedoutBuffer- output buffer
-
getType
protected int getType()Description copied from class:AbstractInstructionSerializerGet type.- Specified by:
getTypein classAbstractInstructionSerializer<WriteActionsCase>- Returns:
- numeric representation of instruction type.
-
getLength
protected int getLength()Description copied from class:AbstractInstructionSerializerGet length.- Specified by:
getLengthin classAbstractInstructionSerializer<WriteActionsCase>- Returns:
- instruction length.
-