plebble
|
Classes | |
class | endpoint_t |
Public Member Functions | |
rpc_api (KeyPair k, String host, uint16_t port, uint16_t pin, datagram.dispatcher_t disp) | |
void | set_busy_handlers (busyled_t.handler_t hsend, busyled_t.handler_t hrecv) |
void | on_connect (ko error) |
void | on_peer_disconnected (final String reason) |
void | verification_completed (boolean ok) |
boolean | connected () |
pair< ko, String > | print_grid () |
pair< ko, String > | list_wallets () |
pair< ko, String > | allw () |
pair< ko, String > | sync () |
pair< ko, String > | reload_file (String _arg_filename) |
pair< ko, String > | ping () |
pair< ko, byte[]> | get_component_update (String _arg_component, String _arg_curver) |
pair< ko, String > | harvest (uint16_t _arg_id, uint16_t _arg_timeout, uint16_t _arg_decay, PrivateKey _arg_priv) |
void | destroy () |
ko | start () |
ko | wait_ready (Date deadline) |
void | stop () |
void | join () |
boolean | is_active () |
ko | wait_auth () |
void | push_cinfo (PrintStream os) |
void | pop_cinfo () |
us.wallet.wallet.api | get_wallet_api (String subhome_ignored) |
us.wallet.pairing.api | get_pairing_api () |
![]() | |
virtual | ~supervisor () |
virtual bool | is_active () const =0 |
Public Attributes | |
endpoint_t | endpoint |
Package Attributes | |
us.wallet.wallet.rpc_api | w |
us.wallet.pairing.rpc_api | p |
|
inline |
Implements us.wallet.daemon.api.
References us.wallet.daemon.rpc_api.endpoint, us.pair< f, s >.first, us.ko.is_ko(), us::gov::cli::rpc_api.KO_40928, us.ok, us.pair< f, s >.second, us::gov::cli::rpc_api.sendrecv(), and us.wallet.protocol.wallet_daemon_allw.
|
inline |
References us::gov::socket::client.connected(), and us.wallet.daemon.rpc_api.endpoint.
|
inline |
Implements us.wallet.daemon.api.
References us::gov::cli::rpc_api.destroy(), and us.wallet.daemon.rpc_api.endpoint.
|
inline |
Implements us.wallet.daemon.api.
References us.wallet.daemon.rpc_api.endpoint, us.pair< f, s >.first, us.ko.is_ko(), us::gov::cli::rpc_api.KO_40928, us.ok, us.pair< f, s >.second, us::gov::cli::rpc_api.sendrecv(), and us.wallet.protocol.wallet_daemon_get_component_update.
|
inline |
Implements us.wallet.daemon.api.
References us.wallet.daemon.rpc_api.p.
|
inline |
Implements us.wallet.daemon.api.
References us.wallet.daemon.rpc_api.w.
|
inline |
Implements us.wallet.daemon.api.
References us.wallet.daemon.rpc_api.endpoint, us.pair< f, s >.first, us.ko.is_ko(), us::gov::cli::rpc_api.KO_40928, us.ok, us.pair< f, s >.second, us::gov::cli::rpc_api.sendrecv(), and us.wallet.protocol.wallet_daemon_harvest.
|
inline |
Implements us.wallet.daemon.api.
References us.wallet.daemon.rpc_api.endpoint, and us::gov::cli::rpc_api.is_active().
|
inline |
Implements us.wallet.daemon.api.
References us.wallet.daemon.rpc_api.endpoint, and us::gov::cli::rpc_api.join().
Implements us.wallet.daemon.api.
References us.wallet.daemon.rpc_api.endpoint, us.pair< f, s >.first, us.ko.is_ko(), us::gov::cli::rpc_api.KO_40928, us.ok, us.pair< f, s >.second, us::gov::cli::rpc_api.sendrecv(), and us.wallet.protocol.wallet_daemon_list_wallets.
|
inline |
Reimplemented in us.wallet.cli.hmi.my_daemon_rpc_api.
Referenced by us.wallet.daemon.rpc_api.endpoint_t.on_connect().
|
inline |
Reimplemented in us.wallet.cli.hmi.my_daemon_rpc_api.
Referenced by us.wallet.daemon.rpc_api.endpoint_t.on_peer_disconnected().
Implements us.wallet.daemon.api.
References us.wallet.daemon.rpc_api.endpoint, us.pair< f, s >.first, us.ko.is_ko(), us::gov::cli::rpc_api.KO_40928, us.ok, us.pair< f, s >.second, us::gov::cli::rpc_api.sendrecv(), and us.wallet.protocol.wallet_daemon_ping.
|
inline |
Implements us.wallet.daemon.api.
References us::gov::cli::rpc_api.cinfo, and us.wallet.daemon.rpc_api.endpoint.
Implements us.wallet.daemon.api.
References us.wallet.daemon.rpc_api.endpoint, us.pair< f, s >.first, us.ko.is_ko(), us::gov::cli::rpc_api.KO_40928, us.ok, us.pair< f, s >.second, us::gov::cli::rpc_api.sendrecv(), and us.wallet.protocol.wallet_daemon_print_grid.
|
inline |
Implements us.wallet.daemon.api.
References us::gov::cli::rpc_api.cinfo, and us.wallet.daemon.rpc_api.endpoint.
Implements us.wallet.daemon.api.
References us.wallet.daemon.rpc_api.endpoint, us.pair< f, s >.first, us.ko.is_ko(), us::gov::cli::rpc_api.KO_40928, us.ok, us.pair< f, s >.second, us::gov::cli::rpc_api.sendrecv(), and us.wallet.protocol.wallet_daemon_reload_file.
|
inline |
Implements us.wallet.daemon.api.
References us.wallet.daemon.rpc_api.endpoint, and us::gov::cli::rpc_api.set_busy_handlers().
|
inline |
Implements us.wallet.daemon.api.
References us.wallet.daemon.rpc_api.endpoint, and us::gov::cli::rpc_api.start().
|
inline |
Implements us.wallet.daemon.api.
References us.wallet.daemon.rpc_api.endpoint, and us::gov::cli::rpc_api.stop().
Implements us.wallet.daemon.api.
References us.wallet.daemon.rpc_api.endpoint, us.pair< f, s >.first, us.ko.is_ko(), us::gov::cli::rpc_api.KO_40928, us.ok, us.pair< f, s >.second, us::gov::cli::rpc_api.sendrecv(), and us.wallet.protocol.wallet_daemon_sync.
|
inline |
Reimplemented in us.wallet.cli.hmi.my_daemon_rpc_api.
Referenced by us.wallet.daemon.rpc_api.endpoint_t.verification_completed().
|
inline |
Implements us.wallet.daemon.api.
References us.wallet.daemon.rpc_api.endpoint, and us::gov::id::peer_t.wait_auth().
|
inline |
Implements us.wallet.daemon.api.
References us.wallet.daemon.rpc_api.endpoint, and us::gov::cli::rpc_api.wait_ready().
endpoint_t us.wallet.daemon.rpc_api.endpoint |
Referenced by us.wallet.daemon.rpc_api.allw(), us.wallet.daemon.rpc_api.connected(), us.wallet.daemon.rpc_api.destroy(), us.wallet.daemon.rpc_api.get_component_update(), us.wallet.daemon.rpc_api.harvest(), us.wallet.daemon.rpc_api.is_active(), us.wallet.daemon.rpc_api.join(), us.wallet.daemon.rpc_api.list_wallets(), us.wallet.daemon.rpc_api.ping(), us.wallet.daemon.rpc_api.pop_cinfo(), us.wallet.daemon.rpc_api.print_grid(), us.wallet.daemon.rpc_api.push_cinfo(), us.wallet.daemon.rpc_api.reload_file(), us.wallet.daemon.rpc_api.rpc_api(), us.wallet.daemon.rpc_api.set_busy_handlers(), us.wallet.daemon.rpc_api.start(), us.wallet.daemon.rpc_api.stop(), us.wallet.daemon.rpc_api.sync(), us.wallet.daemon.rpc_api.wait_auth(), and us.wallet.daemon.rpc_api.wait_ready().
|
package |
Referenced by us.wallet.daemon.rpc_api.get_pairing_api(), and us.wallet.daemon.rpc_api.rpc_api().
|
package |
Referenced by us.wallet.daemon.rpc_api.get_wallet_api(), and us.wallet.daemon.rpc_api.rpc_api().