Uses of Class
monero.common.MoneroConnectionManager
-
Uses of MoneroConnectionManager in monero.common
Modifier and TypeMethodDescriptionMoneroConnectionManager.addConnection
(String uri) Add a connection URI.MoneroConnectionManager.addConnection
(MoneroRpcConnection connection) Add a connection.MoneroConnectionManager.addListener
(MoneroConnectionManagerListener listener) Add a listener to receive notifications when the connection changes.MoneroConnectionManager.checkConnection()
Check the current connection.MoneroConnectionManager.checkConnections()
Check all managed connections.MoneroConnectionManager.clear()
Remove all connections.MoneroConnectionManager.disconnect()
Disconnect from the current connection.MoneroConnectionManager.removeConnection
(String uri) Remove a connection.MoneroConnectionManager.removeListener
(MoneroConnectionManagerListener listener) Remove a listener.MoneroConnectionManager.removeListeners()
Remove all listeners.MoneroConnectionManager.reset()
Reset to default state.MoneroConnectionManager.setAutoSwitch
(boolean autoSwitch) Automatically switch to the best available connection as connections are polled, based on priority, response time, and consistency.MoneroConnectionManager.setConnection
(String uri) Set the current connection without changing the credentials.MoneroConnectionManager.setConnection
(MoneroRpcConnection connection) Set the current connection.MoneroConnectionManager.setTimeout
(long timeoutMs) Set the maximum request time before a connection is considered offline.MoneroConnectionManager.startPolling
(Long periodMs, Boolean autoSwitch, Long timeoutMs, MoneroConnectionManager.PollType pollType, Collection<MoneroRpcConnection> excludedConnections) Start polling connections.MoneroConnectionManager.stopPolling()
Stop polling connections. -
Uses of MoneroConnectionManager in monero.wallet
Modifier and TypeMethodDescriptionMoneroWallet.getConnectionManager()
Get the wallet's daemon connection manager.Modifier and TypeMethodDescriptionvoid
MoneroWallet.setConnectionManager
(MoneroConnectionManager connectionManager) Set the wallet's daemon connection manager. -
Uses of MoneroConnectionManager in monero.wallet.model
Modifier and TypeMethodDescriptionMoneroWalletConfig.setConnectionManager
(MoneroConnectionManager connectionManager)