Interface ExtensionConverterRegistrator
-
- All Known Subinterfaces:
ExtensionConverterManager
- All Known Implementing Classes:
ExtensionConverterManagerImpl
public interface ExtensionConverterRegistrator
Registry for message converters provided by vendor extension.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.opendaylight.yangtools.concepts.ObjectRegistration<ConvertorActionFromOFJava<Action,ActionPath>>
registerActionConvertor(ActionSerializerKey<?> key, ConvertorActionFromOFJava<Action,ActionPath> converter)
Registers an action converter.org.opendaylight.yangtools.concepts.ObjectRegistration<ConvertorActionToOFJava<Action,Action>>
registerActionConvertor(TypeVersionKey<? extends Action> key, ConvertorActionToOFJava<Action,Action> converter)
Registers an action converter.org.opendaylight.yangtools.concepts.ObjectRegistration<ConvertorFromOFJava<MatchEntry,MatchPath>>
registerMatchConvertor(MatchEntrySerializerKey<? extends OxmClassBase,? extends MatchField> key, ConvertorFromOFJava<MatchEntry,MatchPath> convertor)
org.opendaylight.yangtools.concepts.ObjectRegistration<ConvertorToOFJava<MatchEntry>>
registerMatchConvertor(ConverterExtensionKey<? extends ExtensionKey> key, ConvertorToOFJava<MatchEntry> convertor)
<I extends ExperimenterDataOfChoice>
org.opendaylight.yangtools.concepts.ObjectRegistration<ConvertorMessageFromOFJava<I,MessagePath>>registerMessageConvertor(MessageTypeKey<?> key, ConvertorMessageFromOFJava<I,MessagePath> converter)
Registers a message converter.<I extends ExperimenterMessageOfChoice,O extends org.opendaylight.yangtools.yang.binding.DataContainer,D extends ConvertorData>
org.opendaylight.yangtools.concepts.ObjectRegistration<ConverterMessageToOFJava<I,O,D>>registerMessageConvertor(TypeVersionKey<I> key, ConverterMessageToOFJava<I,O,D> converter)
Registers a message converter.
-
-
-
Method Detail
-
registerMatchConvertor
org.opendaylight.yangtools.concepts.ObjectRegistration<ConvertorToOFJava<MatchEntry>> registerMatchConvertor(ConverterExtensionKey<? extends ExtensionKey> key, ConvertorToOFJava<MatchEntry> convertor)
-
registerMatchConvertor
org.opendaylight.yangtools.concepts.ObjectRegistration<ConvertorFromOFJava<MatchEntry,MatchPath>> registerMatchConvertor(MatchEntrySerializerKey<? extends OxmClassBase,? extends MatchField> key, ConvertorFromOFJava<MatchEntry,MatchPath> convertor)
-
registerActionConvertor
org.opendaylight.yangtools.concepts.ObjectRegistration<ConvertorActionToOFJava<Action,Action>> registerActionConvertor(TypeVersionKey<? extends Action> key, ConvertorActionToOFJava<Action,Action> converter)
Registers an action converter.- Parameters:
key
- action case type + ofp-versionconverter
- the converter- Returns:
- closable registration
-
registerActionConvertor
org.opendaylight.yangtools.concepts.ObjectRegistration<ConvertorActionFromOFJava<Action,ActionPath>> registerActionConvertor(ActionSerializerKey<?> key, ConvertorActionFromOFJava<Action,ActionPath> converter)
Registers an action converter.- Parameters:
key
- actionSubType, action type (Experimenter), experimenterId, versionconverter
- the converter- Returns:
- closable registration
-
registerMessageConvertor
<I extends ExperimenterMessageOfChoice,O extends org.opendaylight.yangtools.yang.binding.DataContainer,D extends ConvertorData> org.opendaylight.yangtools.concepts.ObjectRegistration<ConverterMessageToOFJava<I,O,D>> registerMessageConvertor(TypeVersionKey<I> key, ConverterMessageToOFJava<I,O,D> converter)
Registers a message converter.- Type Parameters:
I
- experimenterMessageOfChoiceO
- DataContainerD
- ConvertorData- Parameters:
key
- consists of: experimenter type, versionconverter
- TO OFJava (suitable for both: symmetric and multipart)- Returns:
- closeable registration
-
registerMessageConvertor
<I extends ExperimenterDataOfChoice> org.opendaylight.yangtools.concepts.ObjectRegistration<ConvertorMessageFromOFJava<I,MessagePath>> registerMessageConvertor(MessageTypeKey<?> key, ConvertorMessageFromOFJava<I,MessagePath> converter)
Registers a message converter.- Type Parameters:
I
- experimenterMessageOfChoice- Parameters:
key
- consists of: experimenter type, versionconverter
- FROM OFJava (suitable for both: symmetric and multipart)- Returns:
- closeable registration
-
-