public interface BrokerStatusPublisher
| Modifier and Type | Method and Description |
|---|---|
void |
addBrokerStatusListener(BrokerStatusListener inListener)
Adds a broker status listener, which receives all the broker status changes sent out by the server.
|
void |
removeBrokerStatusListener(BrokerStatusListener inListener)
Removes a broker status listener that was previously added via
addBrokerStatusListener(BrokerStatusListener). |
void addBrokerStatusListener(BrokerStatusListener inListener)
If the same listener is added more than once, it will receive notifications as many times as it has been added.
The listeners are notified in the reverse order of their addition.
inListener - a BrokerStatusListener valuevoid removeBrokerStatusListener(BrokerStatusListener inListener)
addBrokerStatusListener(BrokerStatusListener).
If the listener was added more than once, only its most recently added instance will be removed.
inListener - a BrokerStatusListener valueCopyright © 2019. All rights reserved.