Class ClearActionsInstructionSerializer
java.lang.Object
org.opendaylight.openflowplugin.impl.protocol.serialization.instructions.AbstractInstructionSerializer<Instruction>
org.opendaylight.openflowplugin.impl.protocol.serialization.instructions.ClearActionsInstructionSerializer
- All Implemented Interfaces:
HeaderSerializer<Instruction>,OFGeneralSerializer,OFSerializer<Instruction>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intGet length.protected intgetType()Get type.voidserialize(Instruction input, io.netty.buffer.ByteBuf outBuffer) Transforms POJO/DTO into byte message (ByteBuf).Methods inherited from class org.opendaylight.openflowplugin.impl.protocol.serialization.instructions.AbstractInstructionSerializer
serializeHeader
-
Constructor Details
-
ClearActionsInstructionSerializer
public ClearActionsInstructionSerializer()
-
-
Method Details
-
serialize
Description copied from interface:OFSerializerTransforms POJO/DTO into byte message (ByteBuf).- Specified by:
serializein interfaceOFSerializer<Instruction>- Overrides:
serializein classAbstractInstructionSerializer<Instruction>- Parameters:
input- object to be serializedoutBuffer- output buffer
-
getType
protected int getType()Description copied from class:AbstractInstructionSerializerGet type.- Specified by:
getTypein classAbstractInstructionSerializer<Instruction>- Returns:
- numeric representation of instruction type.
-
getLength
protected int getLength()Description copied from class:AbstractInstructionSerializerGet length.- Specified by:
getLengthin classAbstractInstructionSerializer<Instruction>- Returns:
- instruction length.
-