Line 1:
Line 1:
CRIU-RPC is a remote procedure call (RPC) protocol which uses Google Protocol Buffers to encode its calls and SOCK_SEQPACKET Unix domain socket as a transport mechanism.
CRIU-RPC is a remote procedure call (RPC) protocol which uses Google Protocol Buffers to encode its calls and SOCK_SEQPACKET Unix domain socket as a transport mechanism.
−
−
== Preconditions ==
−
Well described here: [[Self_dump]].
== Protobuf messages ==
== Protobuf messages ==
Line 83:
Line 80:
Client, in its turn, must connect to service socket, send criu_req with request in it, and wait for a criu_resp with response.
Client, in its turn, must connect to service socket, send criu_req with request in it, and wait for a criu_resp with response.
You can find examples of client programs in C and Python in test/rpc/.
You can find examples of client programs in C and Python in test/rpc/.
+
+
With RPC facilities one can perform a [[self dump]].