IPC process interface for spawning bitcoin processes and serving requests in processes that have been spawned.
More...
|
| virtual | ~Process ()=default |
| |
| virtual std::tuple< mp::ProcessId, mp::SocketId > | spawn (const std::string &new_exe_name, const fs::path &argv0_path)=0 |
| | Spawn process and return socket id for communicating with it. More...
|
| |
| virtual int | waitSpawned (mp::ProcessId pid)=0 |
| | Wait for spawned process to exit and return its exit code. More...
|
| |
| virtual bool | checkSpawned (int argc, char *argv[], mp::SocketId &socket)=0 |
| | Parse command line and determine if current process is a spawned child process. More...
|
| |
| virtual mp::SocketId | connect (const fs::path &data_dir, const std::string &dest_exe_name, std::string &address)=0 |
| | Canonicalize and connect to address, returning socket id. More...
|
| |
| virtual mp::SocketId | 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 id. More...
|
| |
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 22 of file process.h.