public abstract class AbstractActionInstructionDeserializer extends AbstractInstructionDeserializer implements DeserializerRegistryInjector
Constructor and Description |
---|
AbstractActionInstructionDeserializer(ActionPath actionPath)
Create new instacte of action instruction deserializer.
|
Modifier and Type | Method and Description |
---|---|
void |
injectDeserializerRegistry(DeserializerRegistry deserializerRegistry)
Injects deserializer registry into deserializer.
|
protected List<Action> |
readActions(io.netty.buffer.ByteBuf message,
int length)
Read list of actions from message.
|
protected static int |
readHeader(io.netty.buffer.ByteBuf message)
Skip first few bytes of instruction message because they are irrelevant and then return length.
|
processHeader
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deserialize
deserializeHeader
public AbstractActionInstructionDeserializer(ActionPath actionPath)
actionPath
- action extension pathprotected static int readHeader(io.netty.buffer.ByteBuf message)
message
- Openflow buffered messageprotected List<Action> readActions(io.netty.buffer.ByteBuf message, int length)
message
- Openflow buffered messagelength
- instruction lengthpublic void injectDeserializerRegistry(DeserializerRegistry deserializerRegistry)
DeserializerRegistryInjector
injectDeserializerRegistry
in interface DeserializerRegistryInjector
deserializerRegistry
- registry of deserializersCopyright © 2020 OpenDaylight. All rights reserved.