public class SetFieldActionSerializer extends AbstractActionSerializer<SetFieldCase> implements SerializerRegistryInjector
Constructor and Description |
---|
SetFieldActionSerializer() |
Modifier and Type | Method and Description |
---|---|
protected int |
getLength()
Get length.
|
protected int |
getType()
Get type.
|
void |
injectSerializerRegistry(SerializerRegistry serializerRegistry)
Injects serializer registry.
|
void |
serialize(SetFieldCase action,
io.netty.buffer.ByteBuf outBuffer)
Transforms POJO/DTO into byte message (ByteBuf).
|
serializeHeader
public void serialize(SetFieldCase action, io.netty.buffer.ByteBuf outBuffer)
OFSerializer
serialize
in interface OFSerializer<SetFieldCase>
serialize
in class AbstractActionSerializer<SetFieldCase>
action
- object to be serializedoutBuffer
- output bufferprotected int getLength()
AbstractActionSerializer
getLength
in class AbstractActionSerializer<SetFieldCase>
protected int getType()
AbstractActionSerializer
getType
in class AbstractActionSerializer<SetFieldCase>
public void injectSerializerRegistry(SerializerRegistry serializerRegistry)
SerializerRegistryInjector
injectSerializerRegistry
in interface SerializerRegistryInjector
serializerRegistry
- registry instanceCopyright © 2020 OpenDaylight. All rights reserved.