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 void
close()
static EventSourceTopic
create(NotificationPattern notificationPattern, String nodeIdRegexPattern, EventSourceTopology eventSourceTopology)
Pattern
getNodeIdRegexPattern()
TopicId
getTopicId()
void
notifyNode(InstanceIdentifier<?> nodeId)
void
onDataTreeChanged(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:
onDataTreeChanged
in interfaceDataTreeChangeListener<Node>
-
notifyNode
public void notifyNode(InstanceIdentifier<?> nodeId)
-
getNodeIdRegexPattern
public Pattern getNodeIdRegexPattern()
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
-
-