public class OF13PushPbbActionSerializer extends AbstractActionSerializer
Constructor and Description |
---|
OF13PushPbbActionSerializer() |
Modifier and Type | Method and 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).
|
serializeHeader
public void serialize(Action action, io.netty.buffer.ByteBuf outBuffer)
OFSerializer
serialize
in interface OFSerializer<Action>
serialize
in class AbstractActionSerializer
action
- object to be serializedoutBuffer
- output bufferprotected int getLength()
AbstractActionSerializer
getLength
in class AbstractActionSerializer
protected int getType()
AbstractActionSerializer
getType
in class AbstractActionSerializer
Copyright © 2020 OpenDaylight. All rights reserved.