Re: multiple services in one vm?
Rikard Elofsson <[email protected]>
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
Vinod Johnson - Sun Microsystems skrev:
> For configuring reggie see the com.sun.jini.reggie package javadocs
> You must set the 'multicastInterfaces' configuration NetworkInterface[]
> entry to contain only those NetworkInterfaces that you are interested
> in. Same goes for LookupDiscovery (or LookupDiscoveryManager).
>
> The Configuration object that you pass in must contain a
> multicastInterfaces entry as described above.
Works perfectly: multicastInterfaces = new NetworkInterface[]
{NetworkInterface.getByName("eth0")};
Thanks!
//Rikard
--------------------------------------------------------------------------
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]