|
| virtual | ~Process ()=default |
| virtual int | spawn (const std::string &new_exe_name, const fs::path &argv0_path, int &pid)=0 |
| virtual int | waitSpawned (int pid)=0 |
| | Wait for spawned process to exit and return its exit code.
|
| virtual bool | checkSpawned (int argc, char *argv[], int &fd)=0 |
| virtual int | connect (const fs::path &data_dir, const std::string &dest_exe_name, std::string &address)=0 |
| | Canonicalize and connect to address, returning socket descriptor.
|
| virtual int | bind (const fs::path &data_dir, const std::string &exe_name, std::string &address)=0 |
| | Create listening socket, bind and canonicalize address, and return socket descriptor.
|
IPC process interface for spawning bitcoin processes and serving requests in processes that have been spawned.
There will be different implementations of this interface depending on the platform (e.g. unix, windows).
Definition at line 21 of file process.h.