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 SummaryConstructors
- 
Method SummaryModifier 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.AbstractActionInstructionSerializerinjectSerializerRegistry, writeActionsMethods inherited from class org.opendaylight.openflowplugin.impl.protocol.serialization.instructions.AbstractInstructionSerializerserializeHeader
- 
Constructor Details- 
WriteActionsInstructionSerializerpublic WriteActionsInstructionSerializer()
 
- 
- 
Method Details- 
serializeDescription copied from interface:OFSerializerTransforms POJO/DTO into byte message (ByteBuf).- Specified by:
- serializein interface- OFSerializer<WriteActionsCase>
- Overrides:
- serializein class- AbstractActionInstructionSerializer<WriteActionsCase>
- Parameters:
- input- object to be serialized
- outBuffer- output buffer
 
- 
getTypeprotected int getType()Description copied from class:AbstractInstructionSerializerGet type.- Specified by:
- getTypein class- AbstractInstructionSerializer<WriteActionsCase>
- Returns:
- numeric representation of instruction type.
 
- 
getLengthprotected int getLength()Description copied from class:AbstractInstructionSerializerGet length.- Specified by:
- getLengthin class- AbstractInstructionSerializer<WriteActionsCase>
- Returns:
- instruction length.
 
 
-