public class PopMplsActionSerializer extends AbstractActionSerializer<PopMplsActionCase>
Constructor and Description |
---|
PopMplsActionSerializer() |
Modifier and Type | Method and Description |
---|---|
protected int |
getLength()
Get length.
|
protected int |
getType()
Get type.
|
void |
serialize(PopMplsActionCase action,
io.netty.buffer.ByteBuf outBuffer)
Transforms POJO/DTO into byte message (ByteBuf).
|
serializeHeader
public void serialize(PopMplsActionCase action, io.netty.buffer.ByteBuf outBuffer)
OFSerializer
serialize
in interface OFSerializer<PopMplsActionCase>
serialize
in class AbstractActionSerializer<PopMplsActionCase>
action
- object to be serializedoutBuffer
- output bufferprotected int getLength()
AbstractActionSerializer
getLength
in class AbstractActionSerializer<PopMplsActionCase>
protected int getType()
AbstractActionSerializer
getType
in class AbstractActionSerializer<PopMplsActionCase>
Copyright © 2019 OpenDaylight. All rights reserved.