Class PushMplsActionSerializer
- java.lang.Object
- 
- org.opendaylight.openflowplugin.impl.protocol.serialization.actions.AbstractActionSerializer<PushMplsActionCase>
- 
- org.opendaylight.openflowplugin.impl.protocol.serialization.actions.PushMplsActionSerializer
 
 
- 
- All Implemented Interfaces:
- HeaderSerializer<PushMplsActionCase>,- OFGeneralSerializer,- OFSerializer<PushMplsActionCase>
 
 public class PushMplsActionSerializer extends AbstractActionSerializer<PushMplsActionCase> 
- 
- 
Constructor SummaryConstructors Constructor Description PushMplsActionSerializer()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetLength()Get length.protected intgetType()Get type.voidserialize(PushMplsActionCase 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
 
- 
 
- 
- 
- 
Method Detail- 
serializepublic void serialize(PushMplsActionCase action, io.netty.buffer.ByteBuf outBuffer) Description copied from interface:OFSerializerTransforms POJO/DTO into byte message (ByteBuf).- Specified by:
- serializein interface- OFSerializer<PushMplsActionCase>
- Overrides:
- serializein class- AbstractActionSerializer<PushMplsActionCase>
- Parameters:
- action- object to be serialized
- outBuffer- output buffer
 
 - 
getLengthprotected int getLength() Description copied from class:AbstractActionSerializerGet length.- Specified by:
- getLengthin class- AbstractActionSerializer<PushMplsActionCase>
- Returns:
- action length
 
 - 
getTypeprotected int getType() Description copied from class:AbstractActionSerializerGet type.- Specified by:
- getTypein class- AbstractActionSerializer<PushMplsActionCase>
- Returns:
- numeric representation of action type
 
 
- 
 
-