|
void | process::firewall::install (std::vector< Owned< FirewallRule >> &&rules) |
| Install a list of firewall rules which are used to forbid incoming HTTP requests. More...
|
|
bool | process::initialize (const Option< std::string > &delegate=None(), const Option< std::string > &readwriteAuthenticationRealm=None(), const Option< std::string > &readonlyAuthenticationRealm=None()) |
| Initialize the library. More...
|
|
void | process::finalize (bool finalize_wsa=false) |
| Clean up the library. More...
|
|
std::string | process::absolutePath (const std::string &path) |
| Get the request absolutePath path with delegate prefix. More...
|
|
network::inet::Address | process::address () |
| Returns the socket address associated with this instance of the library. More...
|
|
PID< Logging > | process::logging () |
| Return the PID associated with the global logging process. More...
|
|
long | process::workers () |
| Returns the number of worker threads the library has created. More...
|
|
UPID | process::spawn (ProcessBase *process, bool manage=false) |
| Spawn a new process. More...
|
|
UPID | process::spawn (ProcessBase &process, bool manage=false) |
|
template<typename T > |
PID< T > | process::spawn (T *t, bool manage=false) |
|
template<typename T > |
PID< T > | process::spawn (T &t, bool manage=false) |
|
void | process::terminate (const UPID &pid, bool inject=true) |
| Sends a TerminateEvent to the given process. More...
|
|
void | process::terminate (const ProcessBase &process, bool inject) |
| Sends a TerminateEvent to the given process. More...
|
|
void | process::terminate (const ProcessBase *process, bool inject) |
| Sends a TerminateEvent to the given process. More...
|
|
bool | process::wait (const UPID &pid, const Duration &duration=Seconds(-1)) |
| Wait for the process to exit for no more than the specified seconds. More...
|
|
bool | process::wait (const ProcessBase &process, const Duration &duration) |
| Wait for the process to exit for no more than the specified seconds. More...
|
|
bool | process::wait (const ProcessBase *process, const Duration &duration) |
| Wait for the process to exit for no more than the specified seconds. More...
|
|
void | process::post (const UPID &to, const std::string &name, const char *data=nullptr, size_t length=0) |
| Sends a message with data without a return address. More...
|
|
void | process::post (const UPID &from, const UPID &to, const std::string &name, const char *data=nullptr, size_t length=0) |
|
bool | process::inject::exited (const UPID &from, const UPID &to) |
| Simulates disconnection of the link between 'from' and 'to' by sending an ExitedEvent to 'to'. More...
|
|