Class MatchEntryDeserializerRegistryHelper
- java.lang.Object
-
- org.opendaylight.openflowjava.protocol.impl.util.MatchEntryDeserializerRegistryHelper
-
public class MatchEntryDeserializerRegistryHelper extends Object
Helper class for registering match entry deserializers.- Author:
- michal.polkorab
-
-
Constructor Summary
Constructors Constructor Description MatchEntryDeserializerRegistryHelper(short version, int oxmClass, DeserializerRegistry deserializerRegistry)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
register(int oxmField, OFGeneralDeserializer deserializer)
Registers match entry deserializer under provided oxmfield.void
registerExperimenter(int oxmField, org.opendaylight.yangtools.yang.common.Uint32 expId, OFGeneralDeserializer deserializer)
-
-
-
Constructor Detail
-
MatchEntryDeserializerRegistryHelper
public MatchEntryDeserializerRegistryHelper(short version, int oxmClass, DeserializerRegistry deserializerRegistry)
Constructor.- Parameters:
version
- wire protocol versionoxmClass
- oxm_class that will be used for match entry deserializer registrationdeserializerRegistry
- registry to be filled with message deserializers
-
-
Method Detail
-
register
public void register(int oxmField, OFGeneralDeserializer deserializer)
Registers match entry deserializer under provided oxmfield.- Parameters:
oxmField
- oxm_field value/codedeserializer
- deserializer instance
-
registerExperimenter
public void registerExperimenter(int oxmField, org.opendaylight.yangtools.yang.common.Uint32 expId, OFGeneralDeserializer deserializer)
-
-