Class ApplyActionsInstructionSerializer
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.protocol.serialization.instructions.AbstractInstructionSerializer<T>
-
- org.opendaylight.openflowplugin.impl.protocol.serialization.instructions.AbstractActionInstructionSerializer<ApplyActionsCase>
-
- org.opendaylight.openflowplugin.impl.protocol.serialization.instructions.ApplyActionsInstructionSerializer
-
- All Implemented Interfaces:
HeaderSerializer<ApplyActionsCase>,OFGeneralSerializer,OFSerializer<ApplyActionsCase>,SerializerRegistryInjector
public class ApplyActionsInstructionSerializer extends AbstractActionInstructionSerializer<ApplyActionsCase>
-
-
Constructor Summary
Constructors Constructor Description ApplyActionsInstructionSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetLength()Get length.protected intgetType()Get type.voidserialize(ApplyActionsCase 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(ApplyActionsCase input, io.netty.buffer.ByteBuf outBuffer)
Description copied from interface:OFSerializerTransforms POJO/DTO into byte message (ByteBuf).- Specified by:
serializein interfaceOFSerializer<ApplyActionsCase>- Overrides:
serializein classAbstractActionInstructionSerializer<ApplyActionsCase>- Parameters:
input- object to be serializedoutBuffer- output buffer
-
getType
protected int getType()
Description copied from class:AbstractInstructionSerializerGet type.- Specified by:
getTypein classAbstractInstructionSerializer<ApplyActionsCase>- Returns:
- numeric representation of instruction type.
-
getLength
protected int getLength()
Description copied from class:AbstractInstructionSerializerGet length.- Specified by:
getLengthin classAbstractInstructionSerializer<ApplyActionsCase>- Returns:
- instruction length.
-
-