Uses of Class
monero.common.MoneroRpcConnection
-
Uses of MoneroRpcConnection in monero.common
Modifier and TypeMethodDescriptionMoneroConnectionManager.getBestAvailableConnection
(MoneroRpcConnection... excludedConnections) Get the best available connection in order of priority then response time.MoneroConnectionManager.getConnection()
Get the current connection.MoneroConnectionManager.getConnectionByUri
(String uri) Get a connection by URI.MoneroRpcConnection.setAttribute
(String key, Object value) MoneroRpcConnection.setCredentials
(String username, String password) MoneroRpcConnection.setPriority
(int priority) Set the connection's priority relative to other connections.MoneroRpcConnection.setProxyUri
(String proxyUri) MoneroRpcConnection.setTimeout
(Long timeoutMs) Set the RPC request timeout in milliseconds.Modifier and TypeMethodDescriptionMoneroConnectionManager.getConnections()
Get all connections in order of current connection (if applicable), online status, priority, and name.MoneroConnectionManager.getPeerConnections()
Collect connectable peers of the managed connections.Modifier and TypeMethodDescriptionMoneroConnectionManager.addConnection
(MoneroRpcConnection connection) Add a connection.MoneroConnectionManager.getBestAvailableConnection
(MoneroRpcConnection... excludedConnections) Get the best available connection in order of priority then response time.void
MoneroConnectionManagerListener.onConnectionChanged
(MoneroRpcConnection connection) Notified on connection change events.MoneroConnectionManager.setConnection
(MoneroRpcConnection connection) Set the current connection.Modifier and TypeMethodDescriptionMoneroConnectionManager.startPolling
(Long periodMs, Boolean autoSwitch, Long timeoutMs, MoneroConnectionManager.PollType pollType, Collection<MoneroRpcConnection> excludedConnections) Start polling connections. -
Uses of MoneroRpcConnection in monero.daemon
Modifier and TypeMethodDescriptionMoneroDaemonRpc.getRpcConnection()
Get the daemon's RPC connection. -
Uses of MoneroRpcConnection in monero.wallet
Modifier and TypeMethodDescriptionMoneroWallet.getDaemonConnection()
Get the wallet's daemon connection.MoneroWalletFull.getDaemonConnection()
MoneroWalletRpc.getDaemonConnection()
MoneroWalletRpc.getRpcConnection()
Get the wallet's RPC connection.Modifier and TypeMethodDescriptionstatic MoneroWalletFull
MoneroWalletFull.openWallet
(String path, String password, MoneroNetworkType networkType, MoneroRpcConnection daemonConnection) Open an existing wallet using JNI bindings to wallet2.h.static MoneroWalletFull
MoneroWalletFull.openWalletData
(String password, MoneroNetworkType networkType, byte[] keysData, byte[] cacheData, MoneroRpcConnection daemonConnection) Open an existing wallet from byte[] data using JNI bindings to wallet2.hvoid
MoneroWallet.setDaemonConnection
(MoneroRpcConnection daemonConnection) Set the wallet's daemon connectionvoid
MoneroWalletFull.setDaemonConnection
(MoneroRpcConnection daemonConnection) void
MoneroWalletRpc.setDaemonConnection
(MoneroRpcConnection connection) void
MoneroWalletRpc.setDaemonConnection
(MoneroRpcConnection connection, Boolean isTrusted, SslOptions sslOptions) -
Uses of MoneroRpcConnection in monero.wallet.model