Class SetMplsTtlActionSerializer
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.protocol.serialization.actions.AbstractActionSerializer<SetMplsTtlActionCase>
-
- org.opendaylight.openflowplugin.impl.protocol.serialization.actions.SetMplsTtlActionSerializer
-
- All Implemented Interfaces:
HeaderSerializer<SetMplsTtlActionCase>,OFGeneralSerializer,OFSerializer<SetMplsTtlActionCase>
public class SetMplsTtlActionSerializer extends AbstractActionSerializer<SetMplsTtlActionCase>
-
-
Constructor Summary
Constructors Constructor Description SetMplsTtlActionSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetLength()Get length.protected intgetType()Get type.voidserialize(SetMplsTtlActionCase action, io.netty.buffer.ByteBuf outBuffer)Transforms POJO/DTO into byte message (ByteBuf).-
Methods inherited from class org.opendaylight.openflowplugin.impl.protocol.serialization.actions.AbstractActionSerializer
serializeHeader
-
-
-
-
Method Detail
-
serialize
public void serialize(SetMplsTtlActionCase action, io.netty.buffer.ByteBuf outBuffer)
Description copied from interface:OFSerializerTransforms POJO/DTO into byte message (ByteBuf).- Specified by:
serializein interfaceOFSerializer<SetMplsTtlActionCase>- Overrides:
serializein classAbstractActionSerializer<SetMplsTtlActionCase>- Parameters:
action- object to be serializedoutBuffer- output buffer
-
getLength
protected int getLength()
Description copied from class:AbstractActionSerializerGet length.- Specified by:
getLengthin classAbstractActionSerializer<SetMplsTtlActionCase>- Returns:
- action length
-
getType
protected int getType()
Description copied from class:AbstractActionSerializerGet type.- Specified by:
getTypein classAbstractActionSerializer<SetMplsTtlActionCase>- Returns:
- numeric representation of action type
-
-