Uses of Class
zephyr.common.ZephyrConnectionManager
Packages that use ZephyrConnectionManager
-
Uses of ZephyrConnectionManager in zephyr.common
Methods in zephyr.common that return ZephyrConnectionManagerModifier and TypeMethodDescriptionZephyrConnectionManager.addConnection(ZephyrRpcConnection connection) Add a connection.ZephyrConnectionManager.addListener(ZephyrConnectionManagerListener listener) Add a listener to receive notifications when the connection changes.ZephyrConnectionManager.checkConnection()Check the current connection.ZephyrConnectionManager.checkConnections()Check all managed connections.ZephyrConnectionManager.clear()Remove all connections.ZephyrConnectionManager.disconnect()Disconnect from the current connection.ZephyrConnectionManager.removeConnection(String uri) Remove a connection.ZephyrConnectionManager.removeListener(ZephyrConnectionManagerListener listener) Remove a listener.ZephyrConnectionManager.removeListeners()Remove all listeners.ZephyrConnectionManager.reset()Reset to default state.ZephyrConnectionManager.setAutoSwitch(boolean autoSwitch) Automatically switch to best available connection if current connection is disconnected after being checked.ZephyrConnectionManager.setConnection(String uri) Set the current connection without changing the credentials.ZephyrConnectionManager.setConnection(ZephyrRpcConnection connection) Set the current connection.ZephyrConnectionManager.setTimeout(long timeoutInMs) Set the maximum request time before a connection is considered offline.ZephyrConnectionManager.startCheckingConnection()Check the connection and start checking the connection periodically.ZephyrConnectionManager.startCheckingConnection(Long periodMs) Check the connection and start checking the connection periodically.ZephyrConnectionManager.stopCheckingConnection()Stop checking the connection status periodically.