public class ActionDeserializer extends Object implements OFDeserializer<Action>, DeserializerRegistryInjector
Modifier and Type | Field and Description |
---|---|
static ExperimenterActionDeserializerKey |
OF10_DESERIALIZER_KEY |
static ExperimenterActionDeserializerKey |
OF13_DESERIALIZER_KEY |
Constructor and Description |
---|
ActionDeserializer(short version)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Action |
deserialize(io.netty.buffer.ByteBuf message)
Transforms byte message into POJO/DTO (of type E).
|
DeserializerRegistry |
getDeserializerRegistry() |
void |
injectDeserializerRegistry(DeserializerRegistry registry)
Injects deserializer registry into deserializer.
|
public static final ExperimenterActionDeserializerKey OF13_DESERIALIZER_KEY
public static final ExperimenterActionDeserializerKey OF10_DESERIALIZER_KEY
public ActionDeserializer(short version)
version
- protocol wire versionpublic Action deserialize(io.netty.buffer.ByteBuf message)
OFDeserializer
deserialize
in interface OFDeserializer<Action>
message
- message as bytes in ByteBufpublic void injectDeserializerRegistry(DeserializerRegistry registry)
DeserializerRegistryInjector
injectDeserializerRegistry
in interface DeserializerRegistryInjector
registry
- registry of deserializerspublic DeserializerRegistry getDeserializerRegistry()
Copyright © 2020 OpenDaylight. All rights reserved.