Class ActionSerializerRegistryHelper
- java.lang.Object
-
- org.opendaylight.openflowjava.protocol.impl.util.ActionSerializerRegistryHelper
-
public class ActionSerializerRegistryHelper extends Object
Helper for registering serializers.- Author:
- michal.polkorab
-
-
Constructor Summary
Constructors Constructor Description ActionSerializerRegistryHelper(org.opendaylight.yangtools.yang.common.Uint8 version, SerializerRegistry serializerRegistry)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends ActionChoice>
voidregisterSerializer(Class<T> actionType, OFGeneralSerializer serializer)
Registers given serializer.
-
-
-
Constructor Detail
-
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 Detail
-
registerSerializer
public <T extends ActionChoice> void registerSerializer(Class<T> actionType, OFGeneralSerializer serializer)
Registers given serializer.- Parameters:
actionType
- action typeserializer
- serializer instance
-
-