public interface ServerLocator extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
brokerDisconnected() |
default void |
close() |
Channel |
connect(ChannelEventListener messageReceiver,
ConnectionRequestInfo workerInfo) |
Channel connect(ChannelEventListener messageReceiver, ConnectionRequestInfo workerInfo) throws InterruptedException, ServerNotAvailableException, ServerRejectedConnectionException
void brokerDisconnected()
default void close()
close in interface AutoCloseableCopyright © 2016. All rights reserved.