Class EventSourceTopic
- java.lang.Object
-
- org.opendaylight.controller.messagebus.app.impl.EventSourceTopic
-
- All Implemented Interfaces:
AutoCloseable,EventListener,DataTreeChangeListener<Node>
public final class EventSourceTopic extends Object implements DataTreeChangeListener<Node>, AutoCloseable
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()static EventSourceTopiccreate(NotificationPattern notificationPattern, String nodeIdRegexPattern, EventSourceTopology eventSourceTopology)PatterngetNodeIdRegexPattern()TopicIdgetTopicId()voidnotifyNode(InstanceIdentifier<?> nodeId)voidonDataTreeChanged(Collection<DataTreeModification<Node>> changes)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opendaylight.mdsal.binding.api.DataTreeChangeListener
onInitialData
-
-
-
-
Method Detail
-
create
public static EventSourceTopic create(NotificationPattern notificationPattern, String nodeIdRegexPattern, EventSourceTopology eventSourceTopology)
-
getTopicId
public TopicId getTopicId()
-
onDataTreeChanged
public void onDataTreeChanged(Collection<DataTreeModification<Node>> changes)
- Specified by:
onDataTreeChangedin interfaceDataTreeChangeListener<Node>
-
notifyNode
public void notifyNode(InstanceIdentifier<?> nodeId)
-
getNodeIdRegexPattern
public Pattern getNodeIdRegexPattern()
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
-