public abstract class AbstractTablePropertySerializer<T extends TableFeaturePropType> extends Object implements OFSerializer<TableFeaturePropType>
Constructor and Description |
---|
AbstractTablePropertySerializer() |
Modifier and Type | Method and Description |
---|---|
protected abstract Class<T> |
getClazz() |
protected abstract TableFeaturesPropType |
getType() |
void |
serialize(TableFeaturePropType tableFeaturePropType,
io.netty.buffer.ByteBuf byteBuf)
Transforms POJO/DTO into byte message (ByteBuf).
|
protected abstract void |
serializeProperty(T property,
io.netty.buffer.ByteBuf byteBuf) |
public void serialize(TableFeaturePropType tableFeaturePropType, io.netty.buffer.ByteBuf byteBuf)
OFSerializer
serialize
in interface OFSerializer<TableFeaturePropType>
tableFeaturePropType
- object to be serializedbyteBuf
- output bufferprotected abstract void serializeProperty(T property, io.netty.buffer.ByteBuf byteBuf)
protected abstract TableFeaturesPropType getType()
Copyright © 2020 OpenDaylight. All rights reserved.