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

    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FlowCommitWrapperImpl

      public FlowCommitWrapperImpl(org.opendaylight.mdsal.binding.api.DataBroker dataBrokerService)
  • Method Details

    • 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 interface FlowCommitWrapper
      Parameters:
      flowPath - the flow path
      flowBody - the flow body
      Returns:
      transaction commit