Class MatchV10ResponseConvertor
- java.lang.Object
-
- org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.common.Convertor<MatchV10,MatchBuilder,VersionDatapathIdConvertorData>
-
- org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.match.MatchV10ResponseConvertor
-
public class MatchV10ResponseConvertor extends Convertor<MatchV10,MatchBuilder,VersionDatapathIdConvertorData>
Converts Openflow 1.0 specific flow match to MD-SAL format flow match.Example usage:
VersionDatapathIdConvertorData data = new VersionDatapathIdConvertorData(version); data.setDatapathId(datapathId); Optional<MatchBuilder> salMatch = convertorManager.convert(ofMatchV10, data);
-
-
Constructor Summary
Constructors Constructor Description MatchV10ResponseConvertor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MatchBuilder
convert(MatchV10 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<MatchV10,MatchBuilder,VersionDatapathIdConvertorData>
- Returns:
- the type of convertor
-
convert
public MatchBuilder convert(MatchV10 source, VersionDatapathIdConvertorData datapathIdConvertorData)
Description copied from class:Convertor
Converts source to result.- Specified by:
convert
in classConvertor<MatchV10,MatchBuilder,VersionDatapathIdConvertorData>
- Parameters:
source
- sourcedatapathIdConvertorData
- convertor data- Returns:
- converted source
-
-