Interface ConverterMessageToOFJava<F extends ExperimenterMessageOfChoice,T extends org.opendaylight.yangtools.yang.binding.DataContainer,D extends ConvertorData>

Type Parameters:
F - input message model - MD-SAL model
T - 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 Type
    Method
    Description
    convert(F experimenterMessageCase, D data)
    Converts a message to MD-SAL model.
    Returns the corresponding experimenter id (vendor id).
    org.opendaylight.yangtools.yang.common.Uint32
    Returns the corresponding experimenter message type.
  • Method Details

    • convert

      T convert(F experimenterMessageCase, D data) throws ConversionException
      Converts a message to MD-SAL model.
      Parameters:
      experimenterMessageCase - where is vendor's augmentation
      data - 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.