Class GoToTableInstructionSerializer
java.lang.Object
org.opendaylight.openflowplugin.impl.protocol.serialization.instructions.AbstractInstructionSerializer<GoToTableCase>
org.opendaylight.openflowplugin.impl.protocol.serialization.instructions.GoToTableInstructionSerializer
- All Implemented Interfaces:
HeaderSerializer<GoToTableCase>
,OFGeneralSerializer
,OFSerializer<GoToTableCase>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
Get length.protected int
getType()
Get type.void
serialize
(GoToTableCase input, io.netty.buffer.ByteBuf outBuffer) Transforms POJO/DTO into byte message (ByteBuf).Methods inherited from class org.opendaylight.openflowplugin.impl.protocol.serialization.instructions.AbstractInstructionSerializer
serializeHeader
-
Constructor Details
-
GoToTableInstructionSerializer
public GoToTableInstructionSerializer()
-
-
Method Details
-
serialize
Description copied from interface:OFSerializer
Transforms POJO/DTO into byte message (ByteBuf).- Specified by:
serialize
in interfaceOFSerializer<GoToTableCase>
- Overrides:
serialize
in classAbstractInstructionSerializer<GoToTableCase>
- Parameters:
input
- object to be serializedoutBuffer
- output buffer
-
getType
protected int getType()Description copied from class:AbstractInstructionSerializer
Get type.- Specified by:
getType
in classAbstractInstructionSerializer<GoToTableCase>
- Returns:
- numeric representation of instruction type.
-
getLength
protected int getLength()Description copied from class:AbstractInstructionSerializer
Get length.- Specified by:
getLength
in classAbstractInstructionSerializer<GoToTableCase>
- Returns:
- instruction length.
-