public interface DataTreeListener extends EventListener
Modifier and Type | Method and Description |
---|---|
void |
onDataTreeChanged(@NonNull Collection<DataTreeModification<?>> changes,
@NonNull Map<DataTreeIdentifier<?>,DataObject> subtrees)
Invoked whenever one or more registered subtrees change.
|
void |
onDataTreeFailed(@NonNull Collection<DataTreeListeningException> causes)
Invoked when a subtree listening failure occurs.
|
void onDataTreeChanged(@NonNull Collection<DataTreeModification<?>> changes, @NonNull Map<DataTreeIdentifier<?>,DataObject> subtrees)
changes
- The set of changes being reported. Each subscribed subtree may be present at
most once.subtrees
- Per-subtree state as visible after the reported changes have been applied.
This includes all the subtrees this listener is subscribed to, even those which have
not changed.void onDataTreeFailed(@NonNull Collection<DataTreeListeningException> causes)
causes
- Collection of failure causes, may not be null or empty.Copyright © 2019 OpenDaylight. All rights reserved.