msgq.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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. <!-- $Id$ -->
  20. <refentry>
  21. <refentryinfo>
  22. <date>August 4, 2010</date>
  23. </refentryinfo>
  24. <refmeta>
  25. <refentrytitle>b10-msgq</refentrytitle>
  26. <manvolnum>8</manvolnum>
  27. <refmiscinfo>BIND10</refmiscinfo>
  28. </refmeta>
  29. <refnamediv>
  30. <refname>b10-msgq</refname>
  31. <refpurpose>message routing daemon for the Command Channel</refpurpose>
  32. </refnamediv>
  33. <docinfo>
  34. <copyright>
  35. <year>2010</year>
  36. <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
  37. </copyright>
  38. </docinfo>
  39. <refsynopsisdiv>
  40. <cmdsynopsis>
  41. <command>b10-msgq</command>
  42. <arg><option>-s <replaceable>file</replaceable></option></arg>
  43. <arg><option>-v</option></arg>
  44. <arg><option>--socket-file <replaceable>file</replaceable></option></arg>
  45. <arg><option>--verbose</option></arg>
  46. </cmdsynopsis>
  47. </refsynopsisdiv>
  48. <refsect1>
  49. <title>DESCRIPTION</title>
  50. <para>
  51. The <command>b10-msgq</command>
  52. daemon provides message routing for the Command Channel.
  53. </para>
  54. <para>
  55. The Command Channel is a message bus and subscription manager.
  56. Programs may subscribe to certain groups to receive messages
  57. for that group.
  58. Every new connection to <command>b10-msgq</command> is
  59. assigned a unique identifier -- this is the local name.
  60. The commands it handles are:
  61. <itemizedlist>
  62. <listitem><para>
  63. <command>getlname</command>
  64. &mdash; receive local name.
  65. </para></listitem>
  66. <listitem><para>
  67. <command>send</command>
  68. &mdash; send a message to defined subscribers.
  69. </para></listitem>
  70. <listitem><para>
  71. <command>subscribe</command>
  72. &mdash; add a subscription. This means it is a listener
  73. for messages for a specific group.
  74. </para></listitem>
  75. <listitem><para>
  76. <command>unsubscribe</command>
  77. &mdash; remove a subscription.
  78. </para></listitem>
  79. </itemizedlist>
  80. </para>
  81. <para>
  82. It listens on 127.0.0.1.
  83. </para>
  84. <para>
  85. The <command>b10-msgq</command> daemon may be cleanly stopped by
  86. sending the SIGTERM signal to the process.
  87. This shutdown does not notify the subscribers.
  88. </para>
  89. </refsect1>
  90. <refsect1>
  91. <title>OPTIONS</title>
  92. <para>The arguments are as follows:</para>
  93. <variablelist>
  94. <varlistentry>
  95. <term><option>-s <replaceable>file</replaceable></option>,
  96. <option>--socket-file <replaceable>file</replaceable></option></term>
  97. <listitem><para>
  98. The UNIX domain socket file this daemon will use.
  99. The default is
  100. <filename>/usr/local/var/bind10-devel/msg_socket</filename>.
  101. <!-- @localstatedir@/@PACKAGE_NAME@/msg_socket -->
  102. </para></listitem>
  103. </varlistentry>
  104. <varlistentry>
  105. <term><option>-v</option>, <option>--verbose</option></term>
  106. <listitem><para>
  107. Enabled verbose mode. This enables diagnostic messages to
  108. STDERR. Displays more about what <command>b10-msgq</command>
  109. is doing.
  110. <!-- TODO: is STDERR correct? -->
  111. </para></listitem>
  112. </varlistentry>
  113. </variablelist>
  114. </refsect1>
  115. <refsect1>
  116. <title>SEE ALSO</title>
  117. <para>
  118. <citerefentry>
  119. <refentrytitle>bind10</refentrytitle><manvolnum>8</manvolnum>
  120. </citerefentry>,
  121. <citetitle>BIND 10 Guide</citetitle>.
  122. </para>
  123. <!-- TODO: point to developer docs -->
  124. </refsect1>
  125. <refsect1>
  126. <title>AUTHORS</title>
  127. <para>
  128. The <command>b10-msgq</command> daemon and Control Channel specification
  129. were initially designed by Michael Graff of ISC.
  130. </para>
  131. </refsect1>
  132. <refsect1>
  133. <title>HISTORY</title>
  134. <para>
  135. The python version was first coded in December 2009.
  136. The C version with now deprecated wire format was coded in September
  137. 2009.
  138. </para>
  139. </refsect1>
  140. </refentry><!--
  141. - Local variables:
  142. - mode: sgml
  143. - End:
  144. -->