Expand description for ShutdownClient
authorJonathan Maw <jonathan.maw@codethink.co.uk>
Thu, 9 Aug 2012 15:02:31 +0000 (16:02 +0100)
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>
Fri, 10 Aug 2012 10:39:37 +0000 (11:39 +0100)
Adds some information about the data it contains.

common/shutdown-client.c

index fb62ed0..f9f619c 100644 (file)
  * by the #LAHandlerService in the Node Startup Controller, and a #ShutdownConsumerProxy 
  * if it is being used by the #NSMConsumerService in the Node State Manager Dummy.
  * 
+ * In addition, it contains the following information:
+ *
+ * * The bus name, the name that the controlling process owns on the system bus.
+ *
+ * * The object path, a unique D-Bus object path which, together with the bus name,
+ *   is used by the Node State Manager to identify the #ShutdownConsumer.
+ *
+ * * The shutdown mode, an #NSMShutdownType.
+ *
+ * * The timeout, the amount of time the Node State Manager will wait before deciding
+ *                that this #ShutdownClient is not responding.
+ *
  * The #LAHandlerService uses it to identify which #ShutdownConsumer was told to shut
  * down, which it will then use to stop the associated systemd unit.
- * 
+ *
  * The #NSMConsumerService uses it to locate the #ShutdownConsumer, shut it down with the
  * appropriate mode, and wait for an appropriate length of time when expecting a response.
  */