Class MatchResponseConvertor
- java.lang.Object
-
- org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.common.Convertor<MatchEntriesGrouping,MatchBuilder,VersionDatapathIdConvertorData>
-
- org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.match.MatchResponseConvertor
-
public class MatchResponseConvertor extends Convertor<MatchEntriesGrouping,MatchBuilder,VersionDatapathIdConvertorData>
Converts Openflow 1.3+ specific flow match to MD-SAL format flow match.Example usage:
VersionDatapathIdConvertorData data = new VersionDatapathIdConvertorData(version); data.setDatapathId(datapathId); Optional<MatchBuilder> salMatch = convertorManager.convert(ofMatch, data);
-
-
Constructor Summary
Constructors Constructor Description MatchResponseConvertor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MatchBuilder
convert(MatchEntriesGrouping source, VersionDatapathIdConvertorData datapathIdConvertorData)
Converts source to result.Collection<Class<?>>
getTypes()
Gets type of convertor, used inConvertorManager
.-
Methods inherited from class org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.common.Convertor
getConvertorExecutor, setConvertorExecutor
-
-
-
-
Method Detail
-
getTypes
public Collection<Class<?>> getTypes()
Description copied from class:Convertor
Gets type of convertor, used inConvertorManager
.- Specified by:
getTypes
in classConvertor<MatchEntriesGrouping,MatchBuilder,VersionDatapathIdConvertorData>
- Returns:
- the type of convertor
-
convert
public MatchBuilder convert(MatchEntriesGrouping source, VersionDatapathIdConvertorData datapathIdConvertorData)
Description copied from class:Convertor
Converts source to result.- Specified by:
convert
in classConvertor<MatchEntriesGrouping,MatchBuilder,VersionDatapathIdConvertorData>
- Parameters:
source
- sourcedatapathIdConvertorData
- convertor data- Returns:
- converted source
-
-