Class DefaultConfigPusher
java.lang.Object
org.opendaylight.openflowplugin.openflow.ofswitch.config.DefaultConfigPusher
- All Implemented Interfaces:
AutoCloseable,EventListener,org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<FlowCapableNode>,org.opendaylight.mdsal.binding.api.DataTreeChangeListener<FlowCapableNode>
@Singleton
public class DefaultConfigPusher
extends Object
implements AutoCloseable, org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<FlowCapableNode>
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultConfigPusher(NodeConfigService nodeConfigService, org.opendaylight.mdsal.binding.api.DataBroker dataBroker, DeviceOwnershipService deviceOwnershipService) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidonDataTreeChanged(Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<FlowCapableNode>> modifications) voidstart()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opendaylight.mdsal.binding.api.DataTreeChangeListener
onInitialData
-
Constructor Details
-
DefaultConfigPusher
@Inject public DefaultConfigPusher(NodeConfigService nodeConfigService, org.opendaylight.mdsal.binding.api.DataBroker dataBroker, DeviceOwnershipService deviceOwnershipService)
-
-
Method Details
-
start
@PostConstruct public void start() -
close
@PreDestroy public void close()- Specified by:
closein interfaceAutoCloseable
-
onDataTreeChanged
public void onDataTreeChanged(Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<FlowCapableNode>> modifications) - Specified by:
onDataTreeChangedin interfaceorg.opendaylight.mdsal.binding.api.DataTreeChangeListener<FlowCapableNode>
-