Class MatchEntrySerializerRegistryHelper<C extends OxmClassBase>
java.lang.Object
org.opendaylight.openflowjava.protocol.impl.util.MatchEntrySerializerRegistryHelper<C>
- Type Parameters:
C
- OXM class
Helper class for registering match entry serializers.
- Author:
- michal.polkorab
-
Constructor Summary
ConstructorDescriptionMatchEntrySerializerRegistryHelper
(org.opendaylight.yangtools.yang.common.Uint8 version, C generalClass, SerializerRegistry serializerRegistry) Constructor. -
Method Summary
Modifier and TypeMethodDescription<F extends MatchField>
voidregisterExperimenterSerializer
(F specificClass, org.opendaylight.yangtools.yang.common.Uint32 expId, OFGeneralSerializer serializer) Registers ExperimenterClass type match serializer.<F extends MatchField>
voidregisterSerializer
(F specificClass, OFGeneralSerializer serializer) Registers the given serializer.
-
Constructor Details
-
MatchEntrySerializerRegistryHelper
public MatchEntrySerializerRegistryHelper(org.opendaylight.yangtools.yang.common.Uint8 version, 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 Details
-
registerSerializer
public <F extends MatchField> void registerSerializer(F specificClass, OFGeneralSerializer serializer) Registers the given serializer.- Parameters:
specificClass
- the MatchField classserializer
- the serializer instance
-
registerExperimenterSerializer
public <F extends MatchField> void registerExperimenterSerializer(F specificClass, org.opendaylight.yangtools.yang.common.Uint32 expId, OFGeneralSerializer serializer) Registers ExperimenterClass type match serializer.- Parameters:
specificClass
- the MatchField classserializer
- the serializer instance
-