Class ActionSerializerRegistryHelper
java.lang.Object
org.opendaylight.openflowjava.protocol.impl.util.ActionSerializerRegistryHelper
Helper for registering serializers.
- Author:
- michal.polkorab
-
Constructor Summary
ConstructorDescriptionActionSerializerRegistryHelper
(org.opendaylight.yangtools.yang.common.Uint8 version, SerializerRegistry serializerRegistry) Constructor. -
Method Summary
Modifier and TypeMethodDescription<T extends ActionChoice>
voidregisterSerializer
(Class<T> actionType, OFGeneralSerializer serializer) Registers given serializer.
-
Constructor Details
-
ActionSerializerRegistryHelper
public ActionSerializerRegistryHelper(org.opendaylight.yangtools.yang.common.Uint8 version, SerializerRegistry serializerRegistry) Constructor.- Parameters:
version
- Openflow wire versionserializerRegistry
- registry to be filled with message serializers
-
-
Method Details
-
registerSerializer
public <T extends ActionChoice> void registerSerializer(Class<T> actionType, OFGeneralSerializer serializer) Registers given serializer.- Parameters:
actionType
- action typeserializer
- serializer instance
-