Re: LookupDiscovery MulticastTimeToLive
Rikard Elofsson <[email protected]>
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
Still trouble with this one.
Both my LookupDiscovery config and my Reggie config now include the
thing below, should work? (I want discovery to be confined to localhost)
I still find services on my colleauges computers and they find mine so
it is extremely confusing to work right now ;-)
//Rikard
net.jini.discovery.LookupDiscovery {
multicastInterfaces = new NetworkInterface[]
{NetworkInterface.getByName("eth0")};
discoveryConstraints =
new BasicMethodConstraints(
new MethodDesc[] {
new MethodDesc(
"multicastRequest",
new InvocationConstraints(new InvocationConstraint[]{
new MulticastTimeToLive(0)}, null)),
new MethodDesc(
"multicastAnnouncement",
new InvocationConstraints(new
InvocationConstraint[]{new MulticastTimeToLive(0)}, null))
}
);
}
--------------------------------------------------------------------------
Getting Started: http://www.jini.org/wiki/Category:Getting_Started
Community Web Site: http://jini.org
jini-users Archive: http://archives.java.sun.com/archives/jini-users.html
Unsubscribing: email "signoff JINI-USERS" to [email protected]