package org.opendaylight.controller.messagebus.spi;
import java.util.List;
-
import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.messagebus.eventsource.rev141202.EventSourceService;
import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.NodeKey;
import org.opendaylight.yangtools.yang.model.api.SchemaPath;
/**
- * Event source is a node in topology which is able to produces notifications.
- * To register event source you use {@link EventSourceRegistry#registerEventSource(EventSource)()}.
+ * Event source is a node in topology which is able to produce notifications.
+ * To register event source you use {@link 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.
public interface EventSource extends EventSourceService, AutoCloseable {
/**
- * Identifier of node associated with event source
+ * Identifier of node associated with event source.
*
* @return instance of NodeKey
*/
* @return list of available notification
*/
List<SchemaPath> getAvailableNotifications();
-
-}
\ No newline at end of file
+}