Class ErrorMessageFactory
java.lang.Object
org.opendaylight.openflowjava.protocol.impl.serialization.factories.ErrorMessageFactory
- All Implemented Interfaces:
OFGeneralSerializer
,OFSerializer<ErrorMessage>
Translates ErrorMessage messages (both OpenFlow v1.0 and OpenFlow v1.3).
- Author:
- giuseppex.petralia@intel.com
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
serialize
(ErrorMessage message, io.netty.buffer.ByteBuf outBuffer) Transforms POJO/DTO into byte message (ByteBuf).
-
Constructor Details
-
ErrorMessageFactory
public ErrorMessageFactory()
-
-
Method Details
-
serialize
Description copied from interface:OFSerializer
Transforms POJO/DTO into byte message (ByteBuf).- Specified by:
serialize
in interfaceOFSerializer<ErrorMessage>
- Parameters:
message
- object to be serializedoutBuffer
- output buffer
-