Interface TransactCommand

All Known Implementing Classes:
AutoAttachRemovedCommand, AutoAttachUpdateCommand, BridgeRemovedCommand, BridgeUpdateCommand, ControllerRemovedCommand, ControllerUpdateCommand, OpenVSwitchBridgeAddCommand, OvsdbNodeUpdateCommand, ProtocolRemovedCommand, ProtocolUpdateCommand, QosRemovedCommand, QosUpdateCommand, QueueRemovedCommand, QueueUpdateCommand, TerminationPointCreateCommand, TerminationPointDeleteCommand, TerminationPointUpdateCommand, TransactCommandAggregator

public interface TransactCommand
Contract for a transactional command.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(TransactionBuilder transaction, BridgeOperationalState state, Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>> modifications, InstanceIdentifierCodec instanceIdentifierCodec)
    Queue the command defined by the class implementing this interface in the given transaction builder, with the given bridge state, in reaction to the given modifications.
    void
    execute(TransactionBuilder transaction, BridgeOperationalState state, DataChangeEvent events, InstanceIdentifierCodec instanceIdentifierCodec)
    Queue the command defined by the class implementing this interface in the given transaction builder, with the given bridge state, in reaction to the given events.
  • Method Details

    • execute

      void execute(TransactionBuilder transaction, BridgeOperationalState state, DataChangeEvent events, InstanceIdentifierCodec instanceIdentifierCodec)
      Queue the command defined by the class implementing this interface in the given transaction builder, with the given bridge state, in reaction to the given events.
      Parameters:
      transaction - The transaction builder.
      state - The bridge state.
      events - The events to be represented.
      instanceIdentifierCodec - The instance identifier codec to use.
    • execute

      void execute(TransactionBuilder transaction, BridgeOperationalState state, Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>> modifications, InstanceIdentifierCodec instanceIdentifierCodec)
      Queue the command defined by the class implementing this interface in the given transaction builder, with the given bridge state, in reaction to the given modifications.
      Parameters:
      transaction - The transaction builder.
      state - The bridge state.
      modifications - The modifications to be represented.
      instanceIdentifierCodec - The instance identifier codec to use.