Class SetNwTtlActionSerializer
java.lang.Object
org.opendaylight.openflowplugin.impl.protocol.serialization.actions.AbstractActionSerializer<SetNwTtlActionCase>
org.opendaylight.openflowplugin.impl.protocol.serialization.actions.SetNwTtlActionSerializer
- All Implemented Interfaces:
- HeaderSerializer<SetNwTtlActionCase>,- OFGeneralSerializer,- OFSerializer<SetNwTtlActionCase>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected intGet length.protected intgetType()Get type.voidserialize(SetNwTtlActionCase action, io.netty.buffer.ByteBuf outBuffer) Transforms POJO/DTO into byte message (ByteBuf).Methods inherited from class org.opendaylight.openflowplugin.impl.protocol.serialization.actions.AbstractActionSerializerserializeHeader
- 
Constructor Details- 
SetNwTtlActionSerializerpublic SetNwTtlActionSerializer()
 
- 
- 
Method Details- 
serializeDescription copied from interface:OFSerializerTransforms POJO/DTO into byte message (ByteBuf).- Specified by:
- serializein interface- OFSerializer<SetNwTtlActionCase>
- Overrides:
- serializein class- AbstractActionSerializer<SetNwTtlActionCase>
- Parameters:
- action- object to be serialized
- outBuffer- output buffer
 
- 
getLengthprotected int getLength()Description copied from class:AbstractActionSerializerGet length.- Specified by:
- getLengthin class- AbstractActionSerializer<SetNwTtlActionCase>
- Returns:
- action length
 
- 
getTypeprotected int getType()Description copied from class:AbstractActionSerializerGet type.- Specified by:
- getTypein class- AbstractActionSerializer<SetNwTtlActionCase>
- Returns:
- numeric representation of action type
 
 
-