Class PopVlanActionSerializer
java.lang.Object
org.opendaylight.openflowplugin.impl.protocol.serialization.actions.AbstractActionSerializer<Action>
org.opendaylight.openflowplugin.impl.protocol.serialization.actions.PopVlanActionSerializer
- All Implemented Interfaces:
HeaderSerializer<Action>
,OFGeneralSerializer
,OFSerializer<Action>
-
Constructor Summary
-
Method Summary
Methods inherited from class org.opendaylight.openflowplugin.impl.protocol.serialization.actions.AbstractActionSerializer
serializeHeader
-
Constructor Details
-
PopVlanActionSerializer
public PopVlanActionSerializer()
-
-
Method Details
-
serialize
Description copied from interface:OFSerializer
Transforms POJO/DTO into byte message (ByteBuf).- Specified by:
serialize
in interfaceOFSerializer<Action>
- Overrides:
serialize
in classAbstractActionSerializer<Action>
- Parameters:
action
- object to be serializedoutBuffer
- output buffer
-
getLength
protected int getLength()Description copied from class:AbstractActionSerializer
Get length.- Specified by:
getLength
in classAbstractActionSerializer<Action>
- Returns:
- action length
-
getType
protected int getType()Description copied from class:AbstractActionSerializer
Get type.- Specified by:
getType
in classAbstractActionSerializer<Action>
- Returns:
- numeric representation of action type
-