Class PushPbbActionSerializer
java.lang.Object
org.opendaylight.openflowplugin.impl.protocol.serialization.actions.AbstractActionSerializer<PushPbbActionCase>
org.opendaylight.openflowplugin.impl.protocol.serialization.actions.PushPbbActionSerializer
- All Implemented Interfaces:
HeaderSerializer<PushPbbActionCase>,OFGeneralSerializer,OFSerializer<PushPbbActionCase>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intGet length.protected intgetType()Get type.voidserialize(PushPbbActionCase 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
-
Constructor Details
-
PushPbbActionSerializer
public PushPbbActionSerializer()
-
-
Method Details
-
serialize
Description copied from interface:OFSerializerTransforms POJO/DTO into byte message (ByteBuf).- Specified by:
serializein interfaceOFSerializer<PushPbbActionCase>- Overrides:
serializein classAbstractActionSerializer<PushPbbActionCase>- Parameters:
action- object to be serializedoutBuffer- output buffer
-
getLength
protected int getLength()Description copied from class:AbstractActionSerializerGet length.- Specified by:
getLengthin classAbstractActionSerializer<PushPbbActionCase>- Returns:
- action length
-
getType
protected int getType()Description copied from class:AbstractActionSerializerGet type.- Specified by:
getTypein classAbstractActionSerializer<PushPbbActionCase>- Returns:
- numeric representation of action type
-