Class AbstractTablePropertySerializer<T extends TableFeaturePropType>
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.protocol.serialization.multipart.tablefeatures.AbstractTablePropertySerializer<T>
-
- All Implemented Interfaces:
OFGeneralSerializer,OFSerializer<TableFeaturePropType>
- Direct Known Subclasses:
ApplyActionsMissTablePropertySerializer,ApplyActionsTablePropertySerializer,ApplySetfieldMissTablePropertySerializer,ApplySetfieldTablePropertySerializer,InstructionsMissTablePropertySerializer,InstructionsTablePropertySerializer,MatchTablePropertySerializer,NextTableMissTablePropertySerializer,NextTableTablePropertySerializer,WildcardsTablePropertySerializer,WriteActionsMissTablePropertySerializer,WriteActionsTablePropertySerializer,WriteSetfieldMissTablePropertySerializer,WriteSetfieldTablePropertySerializer
public abstract class AbstractTablePropertySerializer<T extends TableFeaturePropType> extends Object implements OFSerializer<TableFeaturePropType>
-
-
Constructor Summary
Constructors Constructor Description AbstractTablePropertySerializer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract Class<T>getClazz()protected abstract TableFeaturesPropTypegetType()voidserialize(TableFeaturePropType tableFeaturePropType, io.netty.buffer.ByteBuf byteBuf)Transforms POJO/DTO into byte message (ByteBuf).protected abstract voidserializeProperty(T property, io.netty.buffer.ByteBuf byteBuf)
-
-
-
Method Detail
-
serialize
public void serialize(TableFeaturePropType tableFeaturePropType, io.netty.buffer.ByteBuf byteBuf)
Description copied from interface:OFSerializerTransforms POJO/DTO into byte message (ByteBuf).- Specified by:
serializein interfaceOFSerializer<T extends TableFeaturePropType>- Parameters:
tableFeaturePropType- object to be serializedbyteBuf- output buffer
-
serializeProperty
protected abstract void serializeProperty(T property, io.netty.buffer.ByteBuf byteBuf)
-
getType
protected abstract TableFeaturesPropType getType()
-
-