Class FlowCommitWrapperImpl
- java.lang.Object
-
- org.opendaylight.openflowplugin.learningswitch.FlowCommitWrapperImpl
-
- All Implemented Interfaces:
FlowCommitWrapper
public class FlowCommitWrapperImpl extends Object implements FlowCommitWrapper
-
-
Constructor Summary
Constructors Constructor Description FlowCommitWrapperImpl(org.opendaylight.mdsal.binding.api.DataBroker dataBrokerService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<?>
writeFlowToConfig(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Flow> flowPath, Flow flowBody)
Starts and commits data change transaction which modifies provided flow path with supplied body.
-
-
-
Method Detail
-
writeFlowToConfig
public com.google.common.util.concurrent.ListenableFuture<?> writeFlowToConfig(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Flow> flowPath, Flow flowBody)
Description copied from interface:FlowCommitWrapper
Starts and commits data change transaction which modifies provided flow path with supplied body.- Specified by:
writeFlowToConfig
in interfaceFlowCommitWrapper
- Parameters:
flowPath
- the flow pathflowBody
- the flow body- Returns:
- transaction commit
-
-