Class DefaultConfigPusher
java.lang.Object
org.opendaylight.openflowplugin.openflow.ofswitch.config.DefaultConfigPusher
- All Implemented Interfaces:
AutoCloseable
,org.opendaylight.mdsal.binding.api.DataTreeChangeListener<FlowCapableNode>
@Singleton
public final class DefaultConfigPusher
extends Object
implements AutoCloseable, org.opendaylight.mdsal.binding.api.DataTreeChangeListener<FlowCapableNode>
-
Constructor Summary
ConstructorDescriptionDefaultConfigPusher
(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.binding.api.RpcService rpcService, DeviceOwnershipService deviceOwnershipService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
onDataTreeChanged
(List<org.opendaylight.mdsal.binding.api.DataTreeModification<FlowCapableNode>> modifications) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opendaylight.mdsal.binding.api.DataTreeChangeListener
onInitialData
-
Constructor Details
-
DefaultConfigPusher
@Inject public DefaultConfigPusher(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.binding.api.RpcService rpcService, DeviceOwnershipService deviceOwnershipService)
-
-
Method Details
-
close
@PreDestroy public void close()- Specified by:
close
in interfaceAutoCloseable
-
onDataTreeChanged
public void onDataTreeChanged(List<org.opendaylight.mdsal.binding.api.DataTreeModification<FlowCapableNode>> modifications) - Specified by:
onDataTreeChanged
in interfaceorg.opendaylight.mdsal.binding.api.DataTreeChangeListener<FlowCapableNode>
-