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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
convert(F experimenterMessageCase, D data)
Converts a message to MD-SAL model.ExperimenterId
getExperimenterId()
Returns the corresponding experimenter id (vendor id).org.opendaylight.yangtools.yang.common.Uint32
getType()
Returns the corresponding experimenter message type.
-
-
-
Method Detail
-
convert
T convert(F experimenterMessageCase, D data) throws ConversionException
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.
-
-