cx.ring.Ring.Instance.xml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?xml version="1.0" ?>
  2. <node name="/cx.ring.Ring.Instance" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
  3. <interface name="cx.ring.Ring.Instance">
  4. <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
  5. <p>Count the number of clients actually registered to the core. When initializing your client, you need to register it against the core by using this interface.</p>
  6. </tp:docstring>
  7. <method name="Register" tp:name-for-bindings="Register">
  8. <tp:docstring>
  9. Register a new client to the core. Increments the registration count.
  10. </tp:docstring>
  11. <arg type="i" name="pid" direction="in">
  12. <tp:docstring>
  13. The pid of the client process
  14. </tp:docstring>
  15. </arg>
  16. <arg type="s" name="name" direction="in">
  17. <tp:docstring>
  18. The name of the client
  19. </tp:docstring>
  20. </arg>
  21. </method>
  22. <method name="Unregister" tp:name-for-bindings="Unregister">
  23. <tp:docstring>
  24. Unregister a connected client from the core. Decrements the registration count. If no more clients are connected, ie the registration count equals 0, the core properly quits.
  25. </tp:docstring>
  26. <arg type="i" name="pid" direction="in">
  27. <tp:docstring>
  28. The pid of the client process
  29. </tp:docstring>
  30. </arg>
  31. </method>
  32. <signal name="started" tp:name-for-bindings="started">
  33. <tp:docstring>Notify clients that daemon has started</tp:docstring>
  34. </signal>
  35. </interface>
  36. </node>