public interface DistributedBusMemberManager extends Manager
DistributedBusMemberListener
s. The manager registers as a
shared object. Registered listeners will be notified if a change occurs in
the set of bus members or their registration parameters.Modifier and Type | Method and Description |
---|---|
void |
addListener(DistributedBusMemberListener listener,
List<PeerCard> nodes)
Add a new listener.
|
void |
removeListener(DistributedBusMemberListener listener,
List<PeerCard> nodes)
Remove an existing listener.
|
dispose, init, loadConfigurations
void addListener(DistributedBusMemberListener listener, List<PeerCard> nodes)
listener
- The callback that is invoked when a change occurs.nodes
- The set of nodes on which the listener should be added. An
empty list will subscribe to all nodes, including nodes that
will join the space in the future. Null will subscribe to this
node only and is equivalent with a list that contains the
PeerCard
of this node.void removeListener(DistributedBusMemberListener listener, List<PeerCard> nodes)
listener
- The callback that was registered before with
addListener(DistributedBusMemberListener, List)
.nodes
- The set of nodes on which the listener should be removed. An
empty list will unsubscribe from all nodes. Null will
unsubscribe from this node only and is equivalent with a list
that contains the PeerCard
of this node.Copyright © 2018 universAAL Consortium. All rights reserved.