public interface EventSource extends EventSourceService, AutoCloseable
EventSourceRegistry.registerEventSource(EventSource)
.
EventSourceRegistry will request registered event source to publish notifications
whenever EventSourceRegistry has been asked to publish a certain type of notifications.
EventSourceRegistry will call method JoinTopic to request EventSource to publish notification.
Event source must implement method JoinTopic (from superinterface EventSourceService
).Modifier and Type | Method and Description |
---|---|
List<org.opendaylight.yangtools.yang.model.api.SchemaPath> |
getAvailableNotifications()
List the types of notifications which source can produce.
|
org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.NodeKey |
getSourceNodeKey()
Identifier of node associated with event source.
|
disJoinTopic, joinTopic
close
org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.NodeKey getSourceNodeKey()
List<org.opendaylight.yangtools.yang.model.api.SchemaPath> getAvailableNotifications()
Copyright © 2019 OpenDaylight. All rights reserved.