Interface ConverterMessageToOFJava<F extends ExperimenterMessageOfChoice,T extends org.opendaylight.yangtools.yang.binding.DataContainer,D extends ConvertorData>
- Type Parameters:
F
- input message model - MD-SAL modelT
- output message model - OFJava-API
- All Known Implementing Classes:
BundleAddMessageConverter
,BundleControlConverter
public interface ConverterMessageToOFJava<F extends ExperimenterMessageOfChoice,T extends org.opendaylight.yangtools.yang.binding.DataContainer,D extends ConvertorData>
Convert message from MD-SAL model into OFJava-API model.
-
Method Summary
Modifier and TypeMethodDescriptionConverts a message to MD-SAL model.Returns the corresponding experimenter id (vendor id).org.opendaylight.yangtools.yang.common.Uint32
getType()
Returns the corresponding experimenter message type.
-
Method Details
-
convert
Converts a message to MD-SAL model.- Parameters:
experimenterMessageCase
- where is vendor's augmentationdata
- which contains the Xid and datapathId- Returns:
- message converted to OFJava-API
- Throws:
ConversionException
- if given argument is none of valid types
-
getExperimenterId
ExperimenterId getExperimenterId()Returns the corresponding experimenter id (vendor id).- Returns:
- experimenter id
-
getType
org.opendaylight.yangtools.yang.common.Uint32 getType()Returns the corresponding experimenter message type.- Returns:
- experimenter message type.
-