plebble
us.wallet.daemon.rpc_api Class Reference
Inheritance diagram for us.wallet.daemon.rpc_api:
Collaboration diagram for us.wallet.daemon.rpc_api:

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 ()
 
- Public Member Functions inherited from us::gov::io::screen::supervisor
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
 

Constructor & Destructor Documentation

◆ rpc_api()

us.wallet.daemon.rpc_api.rpc_api ( KeyPair  k,
String  host,
uint16_t  port,
uint16_t  pin,
datagram.dispatcher_t  disp 
)
inline

Member Function Documentation

◆ allw()

◆ connected()

boolean us.wallet.daemon.rpc_api.connected ( )
inline

References us::gov::socket::client.connected(), and us.wallet.daemon.rpc_api.endpoint.

Here is the call graph for this function:

◆ destroy()

void us.wallet.daemon.rpc_api.destroy ( )
inline

Implements us.wallet.daemon.api.

References us::gov::cli::rpc_api.destroy(), and us.wallet.daemon.rpc_api.endpoint.

Here is the call graph for this function:

◆ get_component_update()

pair<ko, byte[]> us.wallet.daemon.rpc_api.get_component_update ( String  _arg_component,
String  _arg_curver 
)
inline

◆ get_pairing_api()

us.wallet.pairing.api us.wallet.daemon.rpc_api.get_pairing_api ( )
inline

◆ get_wallet_api()

us.wallet.wallet.api us.wallet.daemon.rpc_api.get_wallet_api ( String  subhome_ignored)
inline

◆ harvest()

pair<ko, String> us.wallet.daemon.rpc_api.harvest ( uint16_t  _arg_id,
uint16_t  _arg_timeout,
uint16_t  _arg_decay,
PrivateKey  _arg_priv 
)
inline

◆ is_active()

boolean us.wallet.daemon.rpc_api.is_active ( )
inline

Implements us.wallet.daemon.api.

References us.wallet.daemon.rpc_api.endpoint, and us::gov::cli::rpc_api.is_active().

Here is the call graph for this function:

◆ join()

void us.wallet.daemon.rpc_api.join ( )
inline

Implements us.wallet.daemon.api.

References us.wallet.daemon.rpc_api.endpoint, and us::gov::cli::rpc_api.join().

Here is the call graph for this function:

◆ list_wallets()

◆ on_connect()

void us.wallet.daemon.rpc_api.on_connect ( ko  error)
inline

Reimplemented in us.wallet.cli.hmi.my_daemon_rpc_api.

Referenced by us.wallet.daemon.rpc_api.endpoint_t.on_connect().

Here is the caller graph for this function:

◆ on_peer_disconnected()

void us.wallet.daemon.rpc_api.on_peer_disconnected ( final String  reason)
inline

Reimplemented in us.wallet.cli.hmi.my_daemon_rpc_api.

Referenced by us.wallet.daemon.rpc_api.endpoint_t.on_peer_disconnected().

Here is the caller graph for this function:

◆ ping()

◆ pop_cinfo()

void us.wallet.daemon.rpc_api.pop_cinfo ( )
inline

◆ print_grid()

◆ push_cinfo()

void us.wallet.daemon.rpc_api.push_cinfo ( PrintStream  os)
inline

◆ reload_file()

pair<ko, String> us.wallet.daemon.rpc_api.reload_file ( String  _arg_filename)
inline

◆ set_busy_handlers()

void us.wallet.daemon.rpc_api.set_busy_handlers ( busyled_t.handler_t  hsend,
busyled_t.handler_t  hrecv 
)
inline

Implements us.wallet.daemon.api.

References us.wallet.daemon.rpc_api.endpoint, and us::gov::cli::rpc_api.set_busy_handlers().

Here is the call graph for this function:

◆ start()

ko us.wallet.daemon.rpc_api.start ( )
inline

Implements us.wallet.daemon.api.

References us.wallet.daemon.rpc_api.endpoint, and us::gov::cli::rpc_api.start().

Here is the call graph for this function:

◆ stop()

void us.wallet.daemon.rpc_api.stop ( )
inline

Implements us.wallet.daemon.api.

References us.wallet.daemon.rpc_api.endpoint, and us::gov::cli::rpc_api.stop().

Here is the call graph for this function:

◆ sync()

◆ verification_completed()

void us.wallet.daemon.rpc_api.verification_completed ( boolean  ok)
inline

Reimplemented in us.wallet.cli.hmi.my_daemon_rpc_api.

Referenced by us.wallet.daemon.rpc_api.endpoint_t.verification_completed().

Here is the caller graph for this function:

◆ wait_auth()

ko us.wallet.daemon.rpc_api.wait_auth ( )
inline

Implements us.wallet.daemon.api.

References us.wallet.daemon.rpc_api.endpoint, and us::gov::id::peer_t.wait_auth().

Here is the call graph for this function:

◆ wait_ready()

ko us.wallet.daemon.rpc_api.wait_ready ( Date  deadline)
inline

Implements us.wallet.daemon.api.

References us.wallet.daemon.rpc_api.endpoint, and us::gov::cli::rpc_api.wait_ready().

Here is the call graph for this function:

Member Data Documentation

◆ endpoint

◆ p

◆ w


The documentation for this class was generated from the following file: