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
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(io.netty.buffer.ByteBuf rawMessage) Transforms byte message into POJO/DTO (of type E).void
injectDeserializerRegistry
(DeserializerRegistry deserializerRegistry) Injects deserializer registry into deserializer.
-
Constructor Details
-
ErrorMessageFactory
public ErrorMessageFactory()
-
-
Method Details
-
deserialize
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
Description copied from interface:DeserializerRegistryInjector
Injects deserializer registry into deserializer.- Specified by:
injectDeserializerRegistry
in interfaceDeserializerRegistryInjector
- Parameters:
deserializerRegistry
- registry of deserializers
-