Class FlowInstructionResponseConvertor

java.lang.Object
org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.common.Convertor<List<Instruction>,Instructions,VersionConvertorData>
org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.flow.FlowInstructionResponseConvertor

public final class FlowInstructionResponseConvertor extends Convertor<List<Instruction>,Instructions,VersionConvertorData>
Converts Openflow 1.3+ specific instructions to MD-SAL format flow instruction.

Example usage:

 
 VersionConvertorData data = new VersionConvertorData(version);
 Optional<Instructions> salFlowInstruction = convertorManager.convert(ofFlowInstructions, data);