public class BindingDOMDataTreeListenerAdapter extends Object implements DOMDataTreeListener
Modifier | Constructor and Description |
---|---|
protected |
BindingDOMDataTreeListenerAdapter(DataTreeListener delegate,
BindingToNormalizedNodeCodec codec,
LogicalDatastoreType store) |
Modifier and Type | Method and Description |
---|---|
protected BindingToNormalizedNodeCodec |
getCodec() |
T |
getDelegate() |
void |
onDataTreeChanged(Collection<org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeCandidate> domChanges,
Map<DOMDataTreeIdentifier,org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?>> domSubtrees)
Invoked whenever one or more registered subtrees change.
|
void |
onDataTreeFailed(Collection<DOMDataTreeListeningException> causes)
Invoked when a subtree listening failure occurs.
|
protected BindingDOMDataTreeListenerAdapter(DataTreeListener delegate, BindingToNormalizedNodeCodec codec, LogicalDatastoreType store)
public void onDataTreeChanged(Collection<org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeCandidate> domChanges, Map<DOMDataTreeIdentifier,org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,?>> domSubtrees)
DOMDataTreeListener
onDataTreeChanged
in interface DOMDataTreeListener
domChanges
- The set of changes being reported. Each subscribed subtree may be present
at most once.domSubtrees
- 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.public void onDataTreeFailed(Collection<DOMDataTreeListeningException> causes)
DOMDataTreeListener
onDataTreeFailed
in interface DOMDataTreeListener
causes
- Collection of failure causes, may not be null or empty.public final T getDelegate()
getDelegate
in interface org.opendaylight.yangtools.concepts.Delegator<T>
protected final BindingToNormalizedNodeCodec getCodec()
Copyright © 2019 OpenDaylight. All rights reserved.