Class ActionDeserializer
- java.lang.Object
-
- org.opendaylight.openflowjava.nx.codec.action.ActionDeserializer
-
- All Implemented Interfaces:
DeserializerRegistryInjector
,OFDeserializer<Action>
,OFGeneralDeserializer
public class ActionDeserializer extends Object implements OFDeserializer<Action>, DeserializerRegistryInjector
-
-
Field Summary
Fields Modifier and Type Field Description static ExperimenterActionDeserializerKey
OF10_DESERIALIZER_KEY
static ExperimenterActionDeserializerKey
OF13_DESERIALIZER_KEY
-
Constructor Summary
Constructors Constructor Description ActionDeserializer(short version)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Field Detail
-
OF13_DESERIALIZER_KEY
public static final ExperimenterActionDeserializerKey OF13_DESERIALIZER_KEY
-
OF10_DESERIALIZER_KEY
public static final ExperimenterActionDeserializerKey OF10_DESERIALIZER_KEY
-
-
Method Detail
-
deserialize
public Action deserialize(io.netty.buffer.ByteBuf message)
Description copied from interface:OFDeserializer
Transforms byte message into POJO/DTO (of type E).- Specified by:
deserialize
in interfaceOFDeserializer<Action>
- Parameters:
message
- message as bytes in ByteBuf- Returns:
- POJO/DTO
-
injectDeserializerRegistry
public void injectDeserializerRegistry(DeserializerRegistry registry)
Description copied from interface:DeserializerRegistryInjector
Injects deserializer registry into deserializer.- Specified by:
injectDeserializerRegistry
in interfaceDeserializerRegistryInjector
- Parameters:
registry
- registry of deserializers
-
getDeserializerRegistry
public DeserializerRegistry getDeserializerRegistry()
-
-