aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/ivy-java.sgml23
1 files changed, 19 insertions, 4 deletions
diff --git a/doc/ivy-java.sgml b/doc/ivy-java.sgml
index dd8223e..4470c6e 100644
--- a/doc/ivy-java.sgml
+++ b/doc/ivy-java.sgml
@@ -459,7 +459,7 @@ other protocol special characters.
Direct messages is an ivy feature allowing the exchange of information between
two ivy clients. It overrides the subscription mechanism, making the exchange
faster ( there is no regexp matching, etc ). However, this features breaks the
-software bus metaphor, and should be replaced with the relevant bounded
+software bus metaphor, and should be replaced with the relevant bounded.
regexps, at the cost of a small CPU overhead. The full direct message
mechanism in Java has been made available since the ivy-java-1.2.3, but it
won't be much documented, in order to make it harder to use.
@@ -531,10 +531,14 @@ public void removeBindListener(int id)
A <function>IvyBindListener</function> object must implement the following
interface:
<programlisting>
-public void bindPerformed(IvyClient client, int id, String regexp);
-public void unbindPerformed(IvyClient client, int id, String regexp);
+void bindPerformed(IvyClient client, int id, String regexp);
+void unbindPerformed(IvyClient client, int id, String regexp);
</programlisting>
-For a code sample, see the Probe utility source code.
+For a code sample, see the Probe utility source code. Note that if you have
+enabled a filter (message classes), you will be notified the subscriptions
+even if they are considered useless. If you want to check if the regexp has a
+chance to match the message you're sending, use the
+<function>boolean Ivy.CheckRegexp(String regexp)</function>.
</para>
</sect2>
@@ -581,6 +585,10 @@ VY_DEBUG property ( java -DIVY_DEBUG fr.dgac.ivy.tools.Probe is the same as java
fr.dgac.ivy.tools.Probe -d )
</para></listitem>
<listitem><para>
+-c MESSAGECLASS uses a message filter (see Ivy.setFilter()), for example
+'Word1,Word2,Word3'
+</para></listitem>
+<listitem><para>
-h dumps the command line options help.
</para></listitem>
</itemizedlist>
@@ -607,6 +615,13 @@ the numeric id
<listitem><para>
.list gives the list of clients seen on the ivy bus
</para></listitem>
+<listitem><para>
+.bound AGENT lists the regexps the AGENT has subscribed to. You can use .bound
+* to get the whole list.
+</para></listitem>
+<listitem><para>
+.time COUNT MSG sends the MSG COUNT times and displays the elapsed time
+</para></listitem>
</itemizedlist>
</para>
</sect2>