IPC message sender implementation. More...
#include <RMGIpc.hh>
Static Public Member Functions | |
| static void | Setup (int ipc_pipe_fd_out, int ipc_pipe_fd_in, int proc_num) |
| Set the IPC pipes file descriptors. | |
| static std::string | CreateMessage (const std::string &command, const std::string ¶m) |
| Create an IPC message with a key and a single value. | |
| static bool | SendIpcNonBlocking (std::string msg) |
| Send a non-blocking IPC message. | |
| static bool | SendIpcBlocking (std::string msg) |
| Send a blocking IPC message. | |
IPC message sender implementation.
embed:rst:leading-asterisk * .. note :: * The receiver implementation and message format documentation can be found in * :py:mod:`remage.ipc`. *
|
static |
Send a blocking IPC message.
The message is a UTF-8 encoded buffer that already contains the message structure, such as CreateMessage.
|
static |
Send a non-blocking IPC message.
The message is a UTF-8 encoded buffer that already contains the message structure, such as CreateMessage.