Simon IJskes - QCG wrote:
I would like to integrate mdns discovery into the reggie. I've done
some work with jmdns, and i'm thinking about forking it into our own
codebase. Like org.apache.river.jmdns for instance. There are some
methods in the jmdns implementation i would like to deprecated or
remove, but still make it possible to merge back changes we make to
the original project.
Peter, you've also done some research into mdns, did you come up with
other usable implementations for mdns?
Gr. Sim
I didn't really investigate Multicast DNS, mostly just DNS-SRV
Discovery, I still plan to implement that in combination with UDT.
However DNS-SRV based discovery could be made to work with both.
Basically you use DNS to discover the ip address and port, then use
UnicastDiscovery to get the registrar proxy.
So you could make Reggie advertise itself using DNS multicast.
There's an interface:
com.sun.jini.discovery.DiscoveryFormatProvider, which allows you to plug
in different multicast discovery providers.
There are other interfaces in the same package for discovery providers
to implement.
So you can probably implement a provider then configure Reggie to use it.
Cheers,
Peter.