Interface EventSource
-
- All Superinterfaces:
AutoCloseable
,EventSourceService
,RpcService
@Deprecated(forRemoval=true) public interface EventSource extends EventSourceService, AutoCloseable
Deprecated, for removal: This API element is subject to removal in a future version.Event source is a node in topology which is able to produce notifications. To register event source you useEventSourceRegistry.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 superinterfaceEventSourceService
).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description List<SchemaPath>
getAvailableNotifications()
Deprecated, for removal: This API element is subject to removal in a future version.List the types of notifications which source can produce.NodeKey
getSourceNodeKey()
Deprecated, for removal: This API element is subject to removal in a future version.Identifier of node associated with event source.-
Methods inherited from interface java.lang.AutoCloseable
close
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.messagebus.eventsource.rev141202.EventSourceService
disJoinTopic, joinTopic
-
-
-
-
Method Detail
-
getSourceNodeKey
NodeKey getSourceNodeKey()
Deprecated, for removal: This API element is subject to removal in a future version.Identifier of node associated with event source.- Returns:
- instance of NodeKey
-
getAvailableNotifications
List<SchemaPath> getAvailableNotifications()
Deprecated, for removal: This API element is subject to removal in a future version.List the types of notifications which source can produce.- Returns:
- list of available notification
-
-