This module is responsible for the inter-process communication (ipc) between zim instances.
It provides low level functions to:
| Function | dispatch |
If there is an existing zim process pass along the arguments @param args: commandline arguments @raises AssertionError: when no existing zim process or connection failed |
| Function | get_in_main_process |
Returns True if we are already in the main process |
| Function | set_in_main_process |
Set whether we are in the main process or not |
| Function | start_listening |
Start listening to socket or named pipe for new commandline calls. Also sets current process to be the main process. @param handler: the method to call when new commands are recieveds |
| Constant | SERVER_ADDRESS |
Undocumented |
| Constant | SERVER_ADDRESS_FAMILY |
Undocumented |
| Variable | GObject |
Undocumented |
| Variable | key |
Undocumented |
| Variable | logger |
Undocumented |
| Variable | runtime_dir |
Undocumented |
| Variable | tmpdir |
Undocumented |
| Variable | userstring |
Undocumented |
| Function | _close_listener |
Undocumented |
| Function | _do_accept |
Undocumented |
| Function | _get_socket_for_listener |
Undocumented |
| Function | _listener_thread_main |
Undocumented |
| Constant | _IN_MAIN_PROCESS |
Undocumented |
| Variable | _m |
Undocumented |
| Parameters | |
| *args | commandline arguments |
| Raises | |
AssertionError | when no existing zim process or connection failed |