Class OF10EnqueueActionSerializer
- java.lang.Object
-
- org.opendaylight.openflowjava.protocol.impl.serialization.action.AbstractActionSerializer
-
- org.opendaylight.openflowjava.protocol.impl.serialization.action.OF10EnqueueActionSerializer
-
- All Implemented Interfaces:
HeaderSerializer<Action>
,OFGeneralSerializer
,OFSerializer<Action>
public class OF10EnqueueActionSerializer extends AbstractActionSerializer
Serializes OF 1.0 Enqueue actions.- Author:
- michal.polkorab
-
-
Constructor Summary
Constructors Constructor Description OF10EnqueueActionSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getLength()
Returns the action length.protected int
getType()
Returns the numeric representation of action type.void
serialize(Action action, io.netty.buffer.ByteBuf outBuffer)
Transforms POJO/DTO into byte message (ByteBuf).-
Methods inherited from class org.opendaylight.openflowjava.protocol.impl.serialization.action.AbstractActionSerializer
serializeHeader
-
-
-
-
Method Detail
-
serialize
public void serialize(Action action, io.netty.buffer.ByteBuf outBuffer)
Description copied from interface:OFSerializer
Transforms POJO/DTO into byte message (ByteBuf).- Specified by:
serialize
in interfaceOFSerializer<Action>
- Overrides:
serialize
in classAbstractActionSerializer
- Parameters:
action
- object to be serializedoutBuffer
- output buffer
-
getType
protected int getType()
Description copied from class:AbstractActionSerializer
Returns the numeric representation of action type.- Specified by:
getType
in classAbstractActionSerializer
-
getLength
protected int getLength()
Description copied from class:AbstractActionSerializer
Returns the action length.- Specified by:
getLength
in classAbstractActionSerializer
-
-