Class ErrorMessageFactory
- java.lang.Object
-
- org.opendaylight.openflowjava.protocol.impl.deserialization.factories.ErrorMessageFactory
-
- All Implemented Interfaces:
DeserializerRegistryInjector
,OFDeserializer<ErrorMessage>
,OFGeneralDeserializer
public class ErrorMessageFactory extends Object implements OFDeserializer<ErrorMessage>, DeserializerRegistryInjector
Translates Error messages.- Author:
- michal.polkorab, timotej.kubas
-
-
Constructor Summary
Constructors Constructor Description ErrorMessageFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorMessage
deserialize(io.netty.buffer.ByteBuf rawMessage)
Transforms byte message into POJO/DTO (of type E).void
injectDeserializerRegistry(DeserializerRegistry deserializerRegistry)
Injects deserializer registry into deserializer.
-
-
-
Method Detail
-
deserialize
public ErrorMessage deserialize(io.netty.buffer.ByteBuf rawMessage)
Description copied from interface:OFDeserializer
Transforms byte message into POJO/DTO (of type E).- Specified by:
deserialize
in interfaceOFDeserializer<ErrorMessage>
- Parameters:
rawMessage
- message as bytes in ByteBuf- Returns:
- POJO/DTO
-
injectDeserializerRegistry
public void injectDeserializerRegistry(DeserializerRegistry deserializerRegistry)
Description copied from interface:DeserializerRegistryInjector
Injects deserializer registry into deserializer.- Specified by:
injectDeserializerRegistry
in interfaceDeserializerRegistryInjector
- Parameters:
deserializerRegistry
- registry of deserializers
-
-