Class OF13MatchSerializer
java.lang.Object
org.opendaylight.openflowjava.protocol.impl.util.OF13MatchSerializer
- All Implemented Interfaces:
OFGeneralSerializer
,OFSerializer<Match>
,SerializerRegistryInjector
public class OF13MatchSerializer
extends Object
implements OFSerializer<Match>, SerializerRegistryInjector
Serializes ofp_match (OpenFlow v1.3).
- Author:
- michal.polkorab, timotej.kubas
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
injectSerializerRegistry
(SerializerRegistry serializerRegistry) Injects serializer registry.void
Transforms POJO/DTO into byte message (ByteBuf).void
serializeMatchEntries
(List<MatchEntry> matchEntries, io.netty.buffer.ByteBuf out) Serializes MatchEntries.
-
Constructor Details
-
OF13MatchSerializer
public OF13MatchSerializer()
-
-
Method Details
-
serialize
Description copied from interface:OFSerializer
Transforms POJO/DTO into byte message (ByteBuf).- Specified by:
serialize
in interfaceOFSerializer<Match>
- Parameters:
match
- object to be serializedoutBuffer
- output buffer
-
serializeMatchEntries
Serializes MatchEntries.- Parameters:
matchEntries
- list of match entries (oxm_fields)out
- output ByteBuf
-
injectSerializerRegistry
Description copied from interface:SerializerRegistryInjector
Injects serializer registry.- Specified by:
injectSerializerRegistry
in interfaceSerializerRegistryInjector
- Parameters:
serializerRegistry
- registry instance
-