Class MeterInstructionSerializer
java.lang.Object
org.opendaylight.openflowplugin.impl.protocol.serialization.instructions.AbstractInstructionSerializer<MeterCase>
org.opendaylight.openflowplugin.impl.protocol.serialization.instructions.MeterInstructionSerializer
- All Implemented Interfaces:
HeaderSerializer<MeterCase>,OFGeneralSerializer,OFSerializer<MeterCase>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.opendaylight.openflowplugin.impl.protocol.serialization.instructions.AbstractInstructionSerializer
serializeHeader
-
Constructor Details
-
MeterInstructionSerializer
public MeterInstructionSerializer()
-
-
Method Details
-
serialize
Description copied from interface:OFSerializerTransforms POJO/DTO into byte message (ByteBuf).- Specified by:
serializein interfaceOFSerializer<MeterCase>- Overrides:
serializein classAbstractInstructionSerializer<MeterCase>- Parameters:
input- object to be serializedoutBuffer- output buffer
-
getType
protected int getType()Description copied from class:AbstractInstructionSerializerGet type.- Specified by:
getTypein classAbstractInstructionSerializer<MeterCase>- Returns:
- numeric representation of instruction type.
-
getLength
protected int getLength()Description copied from class:AbstractInstructionSerializerGet length.- Specified by:
getLengthin classAbstractInstructionSerializer<MeterCase>- Returns:
- instruction length.
-