|
static final ko | KO_11000 =new ko("KO 11000 Invalid command.") |
|
static final ko | KO_10020 =new ko("KO 10020 Feature not available in RPC mode.") |
|
static final ko | KO_10021 =new ko("KO 10021 Feature only available in RPC mode.") |
|
static final ko | KO_91810 =new ko("KO 91810 Not an offline command.") |
|
static final ko | KO_40322 =new ko("KO 40322 Not implemented.") |
|
static final ko | KO_39201 =new ko("KO 39201 already started.") |
|
◆ hmi() [1/4]
us.wallet.cli.hmi.hmi |
( |
PrintStream |
os | ) |
|
|
inline |
◆ hmi() [2/4]
us.wallet.cli.hmi.hmi |
( |
String[] |
args0, |
|
|
PrintStream |
os |
|
) |
| |
|
inline |
◆ hmi() [3/4]
us.wallet.cli.hmi.hmi |
( |
params |
p_, |
|
|
PrintStream |
os |
|
) |
| |
|
inline |
◆ hmi() [4/4]
us.wallet.cli.hmi.hmi |
( |
shell_args |
a, |
|
|
PrintStream |
os |
|
) |
| |
|
inline |
◆ banner()
void us.wallet.cli.hmi.banner |
( |
params |
p, |
|
|
PrintStream |
os |
|
) |
| |
|
inlinepackage |
◆ constructor()
void us.wallet.cli.hmi.constructor |
( |
PrintStream |
os | ) |
|
|
inlinepackage |
◆ create_dapi_stream()
◆ create_wapi_stream()
◆ exec() [1/2]
References us.wallet.cli.hmi.dapi, us.gov.crypto.base58.decode(), us.wallet.cli.hmi.help(), us.wallet.cli.hmi.interactive, us.wallet.cli.hmi.KO_10020, us.wallet.cli.hmi.KO_10021, us.wallet.cli.hmi.KO_11000, us.wallet.cli.hmi.KO_40322, us.wallet.io.params.local, us::gov::io::shell_args.n, us.CFG.NETWORK_TOPOLOGY, us::gov::io::shell_args.next_hash(), us::gov::io::shell_args.next_priv(), us::gov::io::shell_args.next_pub(), us::gov::io::shell_args.next_string(), us::gov::io::shell_args.next_uint16(), us.ok, us::gov::io::screen.os, us.wallet.cli.hmi.p, us.CFG.network_topology_t.PERMISSIONED, us::gov::io::cfg0.read_file(), us::gov::io::cfg0.rewrite_path(), us.wallet.cli.hmi.scr, us.wallet.cli.hmi.trade(), us.wallet.cli.hmi.tx(), and us.wallet.cli.hmi.wapi.
◆ exec() [2/2]
ko us.wallet.cli.hmi.exec |
( |
String |
cmdline | ) |
|
|
inlinepackage |
◆ from_hex()
byte [] us.wallet.cli.hmi.from_hex |
( |
String |
s | ) |
|
|
inline |
◆ get_keys()
KeyPair us.wallet.cli.hmi.get_keys |
( |
| ) |
|
|
inline |
◆ help()
static void us.wallet.cli.hmi.help |
( |
params |
p, |
|
|
PrintStream |
os |
|
) |
| |
|
inlinestatic |
◆ interactive_shell()
void us.wallet.cli.hmi.interactive_shell |
( |
| ) |
|
|
inline |
References us.wallet.io.params.args, us.wallet.cli.hmi.banner(), us.wallet.io.params.cmd, us.wallet.io.params.connecting_to(), us.wallet.cli.hmi.dapi, us.wallet.cli.hmi.interactive, us.ko.is_ko(), us.wallet.cli.hmi.KO_91810, us::gov::io::shell_args.next_string(), us::gov::io::screen.os, us.wallet.cli.hmi.p, us.wallet.cli.hmi.run_offline(), us.wallet.cli.hmi.run_online(), and us.wallet.cli.hmi.scr.
Referenced by us.wallet.cli.hmi.run().
◆ isup()
boolean us.wallet.cli.hmi.isup |
( |
| ) |
|
|
inline |
◆ join()
void us.wallet.cli.hmi.join |
( |
| ) |
|
|
inline |
◆ load_cfg()
pair<ko, cfg1> us.wallet.cli.hmi.load_cfg |
( |
String |
home, |
|
|
boolean |
gen |
|
) |
| |
|
inline |
◆ on_connect()
void us.wallet.cli.hmi.on_connect |
( |
ko |
error | ) |
|
|
inline |
◆ on_peer_disconnected()
void us.wallet.cli.hmi.on_peer_disconnected |
( |
final String |
reason | ) |
|
|
inline |
◆ readBinFile()
byte [] us.wallet.cli.hmi.readBinFile |
( |
String |
path | ) |
throws IOException |
|
inlinepackage |
◆ readFile()
String us.wallet.cli.hmi.readFile |
( |
String |
path, |
|
|
Charset |
encoding |
|
) |
| throws IOException |
|
inlinepackage |
◆ req_file()
void us.wallet.cli.hmi.req_file |
( |
String |
hashb58 | ) |
|
|
inline |
◆ rm_f()
void us.wallet.cli.hmi.rm_f |
( |
String |
hashb58 | ) |
|
|
inline |
◆ rm_kv()
void us.wallet.cli.hmi.rm_kv |
( |
String |
k | ) |
|
|
inline |
◆ run()
ko us.wallet.cli.hmi.run |
( |
| ) |
|
|
inline |
References us.wallet.io.params.cmd, us.wallet.io.params.daemon, us.wallet.cli.hmi.interactive_shell(), us.ko.is_ko(), us.ko.is_ok(), us.wallet.cli.hmi.join(), us.wallet.cli.hmi.KO_91810, us.ok, us.wallet.cli.hmi.p, us.wallet.cli.hmi.run_offline(), us.wallet.cli.hmi.run_online(), us.wallet.cli.hmi.start(), and us.wallet.cli.hmi.stop().
◆ run_offline()
ko us.wallet.cli.hmi.run_offline |
( |
| ) |
|
|
inlinepackage |
References us.wallet.io.params.cmd, us.pair< f, s >.first, us.wallet.io.params.get_home_wallet_rpc_client(), us.wallet.cli.hmi.help(), us::gov::crypto::ec.instance, us.ko.is_ko(), us.wallet.cli.hmi.KO_10021, us.wallet.cli.hmi.KO_91810, us::gov::io::cfg1.load(), us.wallet.io.params.local, us.ok, us::gov::io::screen.os, us.wallet.cli.hmi.p, us.wallet.cli.hmi.scr, us.pair< f, s >.second, us::gov::crypto::ec.to_b58(), and us.vcs.version().
Referenced by us.wallet.cli.hmi.interactive_shell(), and us.wallet.cli.hmi.run().
◆ run_online()
ko us.wallet.cli.hmi.run_online |
( |
| ) |
|
|
inlinepackage |
◆ start() [1/2]
ko us.wallet.cli.hmi.start |
( |
| ) |
|
|
inline |
◆ start() [2/2]
ko us.wallet.cli.hmi.start |
( |
busyled_t.handler_t |
busyled_handler_send, |
|
|
busyled_t.handler_t |
busyled_handler_recv, |
|
|
datagram.dispatcher_t |
dis |
|
) |
| |
|
inline |
References us.wallet.cli.hmi.cfg, us.wallet.io.params.channel, us.wallet.cli.hmi.create_dapi_stream(), us.wallet.cli.hmi.create_wapi_stream(), us.wallet.io.params.daemon, us.wallet.cli.hmi.dapi, us.pair< f, s >.first, us.wallet.io.params.get_home_wallet_rpc_client(), us.CFG.HMI_READY_TIMEOUT_SECS, us.ko.is_ko(), us.wallet.cli.hmi.isup(), us::gov::io::cfg1.keys, us.wallet.cli.hmi.KO_39201, us.wallet.cli.hmi.KO_40322, us.wallet.cli.hmi.load_cfg(), us.wallet.io.params.local, us.ok, us::gov::io::screen.os, us.wallet.cli.hmi.p, us.wallet.io.params.pin, us.wallet.io.params.rpc__connect_for_recv, us.wallet.io.params.rpc__stop_on_disconnection, us.wallet.cli.hmi.scr, us.pair< f, s >.second, us::gov::socket::datagram.system_channel, us.wallet.io.params.walletd_host, us.wallet.io.params.walletd_port, and us.wallet.cli.hmi.wapi.
◆ stop()
void us.wallet.cli.hmi.stop |
( |
| ) |
|
|
inline |
◆ store_file()
void us.wallet.cli.hmi.store_file |
( |
byte[] |
bytes | ) |
|
|
inline |
◆ store_kv()
void us.wallet.cli.hmi.store_kv |
( |
String |
k, |
|
|
String |
v |
|
) |
| |
|
inline |
◆ test()
static boolean us.wallet.cli.hmi.test |
( |
| ) |
|
|
inlinestatic |
◆ trade()
void us.wallet.cli.hmi.trade |
( |
boolean |
interactive | ) |
|
|
inlinepackage |
◆ trader_help()
static void us.wallet.cli.hmi.trader_help |
( |
boolean |
interactive, |
|
|
PrintStream |
os |
|
) |
| |
|
inlinestatic |
◆ tx()
References us.wallet.cli.hmi.KO_11000, us::gov::io::shell_args.next_cash(), us::gov::io::shell_args.next_hash(), us::gov::io::shell_args.next_int64(), us::gov::io::shell_args.next_string(), us::gov::io::shell_args.next_token(), us::gov::io::shell_args.next_uint16(), us::gov::io::screen.os, us.wallet.cli.hmi.p, us.wallet.cli.hmi.scr, us.wallet.cli.hmi.tx_help(), and us.wallet.cli.hmi.wapi.
Referenced by us.wallet.cli.hmi.exec().
◆ tx_help()
void us.wallet.cli.hmi.tx_help |
( |
params |
p, |
|
|
PrintStream |
os |
|
) |
| |
|
inlinepackage |
◆ verification_completed()
void us.wallet.cli.hmi.verification_completed |
( |
boolean |
ok | ) |
|
|
inline |
◆ address
hash_t us.wallet.cli.hmi.address |
◆ advanced
boolean us.wallet.cli.hmi.advanced =false |
◆ cfg
cfg1 us.wallet.cli.hmi.cfg =null |
◆ dapi
◆ home
String us.wallet.cli.hmi.home |
◆ host
String us.wallet.cli.hmi.host |
◆ interactive
boolean us.wallet.cli.hmi.interactive =false |
◆ KO_10020
final ko us.wallet.cli.hmi.KO_10020 =new ko("KO 10020 Feature not available in RPC mode.") |
|
static |
◆ KO_10021
final ko us.wallet.cli.hmi.KO_10021 =new ko("KO 10021 Feature only available in RPC mode.") |
|
static |
◆ KO_11000
final ko us.wallet.cli.hmi.KO_11000 =new ko("KO 11000 Invalid command.") |
|
static |
◆ KO_39201
final ko us.wallet.cli.hmi.KO_39201 =new ko("KO 39201 already started.") |
|
static |
◆ KO_40322
final ko us.wallet.cli.hmi.KO_40322 =new ko("KO 40322 Not implemented.") |
|
static |
◆ KO_91810
final ko us.wallet.cli.hmi.KO_91810 =new ko("KO 91810 Not an offline command.") |
|
static |
◆ local
boolean us.wallet.cli.hmi.local =false |
Referenced by us.wallet.cli.hmi.banner(), us.wallet.cli.hmi.constructor(), us.wallet.cli.hmi.create_dapi_stream(), us.wallet.cli.hmi.create_wapi_stream(), us.wallet.cli.hmi.exec(), us.wallet.cli.hmi.help(), us.wallet.cli.hmi.hmi(), us.wallet.cli.hmi.interactive_shell(), us.wallet.cli.hmi.run(), us.wallet.cli.hmi.run_offline(), us.wallet.cli.hmi.run_online(), us.wallet.cli.hmi.start(), and us.wallet.cli.hmi.tx().
◆ port
uint16_t us.wallet.cli.hmi.port |
◆ scr
◆ verbose
boolean us.wallet.cli.hmi.verbose =false |
◆ wapi
Referenced by us.wallet.cli.hmi.exec(), us.wallet.cli.hmi.join(), main.main_test(), us.wallet.cli.hmi.req_file(), us.wallet.cli.hmi.rm_f(), us.wallet.cli.hmi.rm_kv(), us.wallet.cli.hmi.start(), us.wallet.cli.hmi.stop(), us.wallet.cli.hmi.store_file(), us.wallet.cli.hmi.store_kv(), and us.wallet.cli.hmi.tx().
The documentation for this class was generated from the following file: