Changes

373 bytes added ,  14:37, 1 December 2014
Line 160: Line 160:     
== Notifications ==
 
== Notifications ==
 +
If the ''opts.notify_scripts'' in the request is set to TRUE CRIU would report back resp messages with type set to NOTIFY and this field present. The notifications are the way [[action scripts]] work for RPC mode.
   −
--action-script analog.
   
<pre>
 
<pre>
 
message criu_notify {
 
message criu_notify {
Line 168: Line 168:  
}
 
}
 
</pre>
 
</pre>
 +
 +
After handling the notification the client must responce with the request again with the type set to NOTIFY and the ''notify_success'' set to the successfulness of the notification.
    
== Run ==
 
== Run ==