Author: buildbot
Date: Fri Feb 11 20:15:48 2011
New Revision: 785318
Log:
Staging update by buildbot
Modified:
websites/staging/river/trunk/content/user-guide-basic-river-services.html
Modified:
websites/staging/river/trunk/content/user-guide-basic-river-services.html
==============================================================================
--- websites/staging/river/trunk/content/user-guide-basic-river-services.html
(original)
+++ websites/staging/river/trunk/content/user-guide-basic-river-services.html
Fri Feb 11 20:15:48 2011
@@ -139,7 +139,7 @@
<p>Assuming you don't get a <code>NullPointerException</code> and you do get a
service ID written out, then your Lookup Service is running fine.</p>
-<p>The <code>LookupLocator</code> takes a String representing a "jini URL".
This jini URL is made up from the Strings "<code>jini://</code>" a hostname and
(optionally) "<code>:</code>" and a port number. 4160 is the default port and
is specified in the Lookup Service configuration file. The scripts in the
{{examples/hello}} directory will use the default port unless you have changed
it. See <a
href="http://incubator.apache.org/river/doc/specs/html/discovery-spec.html">DJ.5.5
Address and Port Mappings for TCP and Multicast UDP</a> for more details.</p>
+<p>The <code>LookupLocator</code> takes a String representing a "jini URL".
This jini URL is made up from the Strings "<code>jini://</code>" a hostname and
(optionally) "<code>:</code>" and a port number. 4160 is the default port and
is specified in the Lookup Service configuration file. The scripts in the
{{examples/hello}} directory will use the default port unless you have changed
it. See <a href="/doc/specs/html/discovery-spec.html">DJ.5.5 Address and Port
Mappings for TCP and Multicast UDP</a> for more details.</p>
<h4 id="multicast">Multicast</h4>
<p>If we know only that "some lookup services are on the subnet somewhere"
then we can use multicast to find them.</p>
<div class="codehilite"><pre><span
class="n">DiscoveryListenerManagement</span> <span class="n">dlm</span> <span
class="o">=</span> <span class="k">new</span> <span
class="n">LookupDiscovery</span><span class="p">(</span><span
class="n">LookupDiscovery</span><span class="o">.</span><span
class="n">ALL_GROUPS</span><span class="p">);</span>