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.
|
processHeaderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeserializedeserializeHeaderpublic 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)
DeserializerRegistryInjectorinjectDeserializerRegistry in interface DeserializerRegistryInjectordeserializerRegistry - registry of deserializersCopyright © 2019 OpenDaylight. All rights reserved.