|
| | daemon () |
| |
| | daemon (uint16_t port, uint16_t pport, uint8_t edges, uint8_t devices, int workers, const vector< pair< uint32_t, uint16_t >> &sn) |
| |
| virtual | ~daemon () |
| |
| | daemon (const daemon &)=delete |
| |
| daemon & | operator= (const daemon &)=delete |
| |
| virtual bool | process_work (socket::peer_t *c, datagram *d) override |
| |
| void | receive_file (peer_t *c, datagram *d) |
| |
| void | dump (const string &prefix, ostream &) const |
| |
| void | send_file (peer_t *c, datagram *request) |
| |
| void | save (const string &hash, const vector< uint8_t > &data, int propagate) |
| |
| string | load (const string &hash) |
| |
| virtual bool | check_dfs_permission (const hash_t &addr) const |
| |
| void | wait () |
| |
| void | run () |
| |
| void | onwakeup () |
| |
| ko | start () override |
| |
| ko | wait_ready (const chrono::system_clock::time_point &deadline) const override |
| |
| void | stop () override |
| |
| void | join () override |
| |
| void | wakeup () |
| |
| bool | isup () const |
| |
| void | index_set (const vector< pair< hash_t, uint32_t >> &) |
| |
| void | index_add (const hash_t &, uint32_t sz) |
| |
| void | index_rm (const hash_t &) |
| |
| void | index_clear () |
| |
| void | rm_file (const hash_t &h) |
| |
| size_t | rm_files (const set< hash_t > &exclude) |
| |
| | daemon () |
| |
| | daemon (const daemon &)=delete |
| |
| daemon & | operator= (const daemon &)=delete |
| |
| | daemon (uint16_t port, uint16_t pport, uint8_t edges, uint8_t devices, int workers) |
| |
| | ~daemon () override |
| |
| bool | process_work (socket::peer_t *c, datagram *d) override |
| |
| bool | process_evidence (const datagram &) |
| |
| void | process_harvester_payload (const string &payload, string &ans) |
| |
| virtual bool | process_evidence (evidence *)=0 |
| |
| void | dump (const string &prefix, ostream &os) const |
| |
| void | send_evidence (datagram *) |
| |
| int | send (int num, const socket::client *exclude, const datagram &) |
| |
| int | send (int num, const socket::client *exclude, datagram *) |
| |
| int | grid_devices_send (const datagram &d) |
| |
| int | grid_devices_send (const datagram &d, const function< bool(const client &)> &) |
| |
| int | grid_devices_send (const vector< datagram * > &v, const function< bool(const client &)> &filter) |
| |
| void | rollback (uint16_t timeout, string payload) |
| |
| void | on_destroy (client &) override |
| |
| virtual bool | check_relay_permission (const hash_t &addr) const |
| |
| virtual evidence * | parse_custom_evidence (const string &payload) const |
| |
| | daemon () |
| |
| | daemon (uint16_t port, uint16_t pport, uint8_t edges, uint8_t devices, uint8_t workers) |
| |
| void | dump (const string &prefix, ostream &) const |
| |
| void | visit (const function< void(socket::client &)> &visitor) |
| |
| vector< pair< uint32_t, uint16_t > > | list_neighbours () const |
| |
| vector< pair< uint32_t, uint16_t > > | list_dev_neighbours () const |
| |
| void | purge_idle () |
| |
| ko | start () override |
| |
| ko | wait_ready (const chrono::system_clock::time_point &deadline) const override |
| |
| void | stop () override |
| |
| void | join () override |
| |
| bool | is_active () const |
| |
| void | wakeup () |
| |
| bool | isup () const |
| |
| void | wait () |
| |
| void | dump_random_nodes (size_t num, ostream &os) const |
| |
| bool | lookup_node (const hash_t &p, ostream &os) const |
| |
| virtual void | remote_port (const crypto::ec::keys::pub_t &, uint16_t port) |
| |
| void | test_connectivity () |
| |
| void | grid_rotate (nodes_t &) |
| |
| void | run () |
| |
| void | onwakeup () |
| |
| void | set_seed_nodes (const vector< pair< uint32_t, uint16_t >> &) |
| |
| ko | add_seed_node (const pair< uint32_t, uint16_t > &) |
| |
| ko | add_seed_node_ (const pair< uint32_t, uint16_t > &) |
| |
| void | set_nodes (const vector< pair< hash_t, pair< uint32_t, uint16_t >>> &) |
| |
| ko | add_node_ (const pair< hash_t, pair< uint32_t, uint16_t >> &) |
| |
| void | grid_setcur () |
| |
| void | disconnect_one () |
| |
| client * | grid_connect (uint32_t netaddr, uint16_t port) |
| |
| bool | grid_connect_test (peer::peer_t *p, uint32_t netaddr, uint16_t port, ostream &os) |
| |
| nodes_t & | get_nodes () |
| |
| const nodes_t & | get_nodes () const |
| |
| | daemon () |
| |
| | daemon (uint16_t port, uint16_t pport, int workers) |
| |
| virtual socket::client * | create_client (int sock) override |
| |
| virtual const keys & | get_keys () const =0 |
| |
| bool | is_duplicate (const pub_t &) const |
| |
| void | dump (const string &prefix, ostream &os) const |
| |
| | daemon () |
| |
| | daemon (const daemon &)=delete |
| |
| daemon & | operator= (const daemon &)=delete |
| |
| | daemon (uint16_t port, uint8_t workers) |
| |
| | ~daemon () override |
| |
| client * | create_client (int sock) override |
| |
| ko | start () override |
| |
| ko | wait_ready (const chrono::system_clock::time_point &deadline) const override |
| |
| void | stop () override |
| |
| void | join () override |
| |
| void | dump (const string &prefix, ostream &os) const |
| |
| void | receive_and_process (client *) override |
| |
| void | process_work (peer_t *c) |
| |
| virtual string | homedir () const =0 |
| |
| | server () |
| |
| | server (uint16_t port) |
| |
| virtual | ~server () |
| |
| virtual void | attach (client *) |
| |
| virtual void | attach_noupdate (client *) |
| |
| virtual void | detach (client *) |
| |
| datagram * | read_from_client (int sock) |
| |
| int | make_socket (uint16_t port) |
| |
| bool | banned_throttle (const string &addr) |
| |
| void | dump (const string &prefix, ostream &os) const |
| |
| void | proc_evil (const vector< pair< uint32_t, string >> &) |
| |
| void | run () |
| |
| void | onwakeup () |
| |
| ko | start () override |
| |
| ko | wait_ready (const chrono::system_clock::time_point &deadline) const override |
| |
| void | stop () override |
| |
| void | join () override |
| |
| | bgtask () |
| |
| | bgtask (function< void()> run, function< void()> onwakeup) |
| |
| virtual | ~bgtask () |
| |
| void | set_run_function (function< void()> r) |
| |
| void | wakeup () |
| |
| bool | isup () const |
| |
| bool | isdown () const |
| |
| bool | resumed () const |
| |
| void | run_ () |
| |
| void | reset () |
| |
| bool | reset_wait () |
| |
| bool | reset_resume () |
| |
| bool | is_active () const |
| |
| | bgtask () |
| |
| | bgtask (callback cb0) |
| |
| void | set_callback (callback r) |
| |
| ko | wait_ready (Date deadline) |
| |
| boolean | reset_wait () |
| |
| boolean | reset_resume () |
| |
| boolean | isup () |
| |
| boolean | isdown () |
| |
| boolean | resumed () |
| |
| void | reset () |
| |
| boolean | is_active () |
| |
| | mezzanine (daemon *) |
| |
| | mezzanine (daemon *) |
| |