Interface EventSource
-
- All Superinterfaces:
AutoCloseable,EventSourceService,RpcService
public interface EventSource extends EventSourceService, AutoCloseable
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 Modifier and Type Method Description List<SchemaPath>getAvailableNotifications()List the types of notifications which source can produce.NodeKeygetSourceNodeKey()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()
Identifier of node associated with event source.- Returns:
- instance of NodeKey
-
getAvailableNotifications
List<SchemaPath> getAvailableNotifications()
List the types of notifications which source can produce.- Returns:
- list of available notification
-
-