msgq.xml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
  2. "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
  3. [<!ENTITY mdash "&#8212;">]>
  4. <!--
  5. - Copyright (C) 2010 Internet Systems Consortium, Inc. ("ISC")
  6. -
  7. - Permission to use, copy, modify, and/or distribute this software for any
  8. - purpose with or without fee is hereby granted, provided that the above
  9. - copyright notice and this permission notice appear in all copies.
  10. -
  11. - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  12. - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  13. - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  14. - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  15. - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  16. - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  17. - PERFORMANCE OF THIS SOFTWARE.
  18. -->
  19. <refentry>
  20. <refentryinfo>
  21. <date>June 25, 2012</date>
  22. </refentryinfo>
  23. <refmeta>
  24. <refentrytitle>b10-msgq</refentrytitle>
  25. <manvolnum>8</manvolnum>
  26. <refmiscinfo>BIND10</refmiscinfo>
  27. </refmeta>
  28. <refnamediv>
  29. <refname>b10-msgq</refname>
  30. <refpurpose>message routing daemon for the Command Channel</refpurpose>
  31. </refnamediv>
  32. <docinfo>
  33. <copyright>
  34. <year>2010</year>
  35. <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
  36. </copyright>
  37. </docinfo>
  38. <refsynopsisdiv>
  39. <cmdsynopsis>
  40. <command>b10-msgq</command>
  41. <arg><option>-s <replaceable>file</replaceable></option></arg>
  42. <arg><option>-v</option></arg>
  43. <arg><option>--socket-file <replaceable>file</replaceable></option></arg>
  44. <arg><option>--verbose</option></arg>
  45. </cmdsynopsis>
  46. </refsynopsisdiv>
  47. <refsect1>
  48. <title>DESCRIPTION</title>
  49. <para>
  50. The <command>b10-msgq</command>
  51. daemon provides message routing for the Command Channel.
  52. </para>
  53. <para>
  54. The Command Channel is a message bus and subscription manager.
  55. Programs may subscribe to certain groups to receive messages
  56. for that group.
  57. Every new connection to <command>b10-msgq</command> is
  58. assigned a unique identifier -- this is the local name.
  59. The commands it handles are:
  60. <itemizedlist>
  61. <listitem><para>
  62. <command>getlname</command>
  63. &mdash; receive local name.
  64. </para></listitem>
  65. <listitem><para>
  66. <command>send</command>
  67. &mdash; send a message to defined subscribers.
  68. </para></listitem>
  69. <listitem><para>
  70. <command>subscribe</command>
  71. &mdash; add a subscription. This means it is a listener
  72. for messages for a specific group.
  73. </para></listitem>
  74. <listitem><para>
  75. <command>unsubscribe</command>
  76. &mdash; remove a subscription.
  77. </para></listitem>
  78. </itemizedlist>
  79. </para>
  80. <para>
  81. The <command>b10-msgq</command> daemon may be cleanly stopped by
  82. sending the SIGTERM signal to the process.
  83. This shutdown does not notify the subscribers.
  84. </para>
  85. </refsect1>
  86. <refsect1>
  87. <title>OPTIONS</title>
  88. <para>The arguments are as follows:</para>
  89. <variablelist>
  90. <varlistentry>
  91. <term><option>-s <replaceable>file</replaceable></option>,
  92. <option>--socket-file <replaceable>file</replaceable></option></term>
  93. <listitem><para>
  94. The UNIX domain socket file this daemon will use.
  95. The default is
  96. <filename>/usr/local/var/bind10/msg_socket</filename>.
  97. <!-- @localstatedir@/@PACKAGE_NAME@/msg_socket -->
  98. </para></listitem>
  99. </varlistentry>
  100. <varlistentry>
  101. <term><option>-v</option>, <option>--verbose</option></term>
  102. <listitem><para>
  103. Enabled verbose mode. This enables diagnostic messages to
  104. STDERR. Displays more about what <command>b10-msgq</command>
  105. is doing.
  106. <!-- TODO: is STDERR correct? -->
  107. </para></listitem>
  108. </varlistentry>
  109. </variablelist>
  110. </refsect1>
  111. <refsect1>
  112. <title>SEE ALSO</title>
  113. <para>
  114. <citerefentry>
  115. <refentrytitle>b10-init</refentrytitle><manvolnum>8</manvolnum>
  116. </citerefentry>,
  117. <citerefentry>
  118. <refentrytitle>bind10</refentrytitle><manvolnum>8</manvolnum>
  119. </citerefentry>,
  120. <citetitle>BIND 10 Guide</citetitle>.
  121. </para>
  122. <!-- TODO: point to developer docs -->
  123. </refsect1>
  124. <refsect1>
  125. <title>AUTHORS</title>
  126. <para>
  127. The <command>b10-msgq</command> daemon and Control Channel specification
  128. were initially designed by Michael Graff of ISC.
  129. </para>
  130. </refsect1>
  131. <refsect1>
  132. <title>HISTORY</title>
  133. <para>
  134. The python version was first coded in December 2009.
  135. The C version with now deprecated wire format was coded in September
  136. 2009.
  137. </para>
  138. </refsect1>
  139. </refentry><!--
  140. - Local variables:
  141. - mode: sgml
  142. - End:
  143. -->