Class MatchEntrySerializerRegistryHelper<C extends OxmClassBase>
- java.lang.Object
-
- org.opendaylight.openflowjava.protocol.impl.util.MatchEntrySerializerRegistryHelper<C>
-
- Type Parameters:
C
- OXM class
public class MatchEntrySerializerRegistryHelper<C extends OxmClassBase> extends Object
Helper class for registering match entry serializers.- Author:
- michal.polkorab
-
-
Constructor Summary
Constructors Constructor Description MatchEntrySerializerRegistryHelper(org.opendaylight.yangtools.yang.common.Uint8 version, Class<C> generalClass, SerializerRegistry serializerRegistry)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <F extends MatchField>
voidregisterExperimenterSerializer(Class<F> specificClass, org.opendaylight.yangtools.yang.common.Uint32 expId, OFGeneralSerializer serializer)
Registers ExperimenterClass type match serializer.<F extends MatchField>
voidregisterSerializer(Class<F> specificClass, OFGeneralSerializer serializer)
Registers the given serializer.
-
-
-
Constructor Detail
-
MatchEntrySerializerRegistryHelper
public MatchEntrySerializerRegistryHelper(org.opendaylight.yangtools.yang.common.Uint8 version, Class<C> generalClass, SerializerRegistry serializerRegistry)
Constructor.- Parameters:
version
- Openflow wire versiongeneralClass
- class that will be used for match entry serializer registrationserializerRegistry
- registry to be filled with message serializers
-
-
Method Detail
-
registerSerializer
public <F extends MatchField> void registerSerializer(Class<F> specificClass, OFGeneralSerializer serializer)
Registers the given serializer.- Parameters:
specificClass
- the MatchField classserializer
- the serializer instance
-
registerExperimenterSerializer
public <F extends MatchField> void registerExperimenterSerializer(Class<F> specificClass, org.opendaylight.yangtools.yang.common.Uint32 expId, OFGeneralSerializer serializer)
Registers ExperimenterClass type match serializer.- Parameters:
specificClass
- the MatchField classserializer
- the serializer instance
-
-