Re: Peer-Discovery in own Group

Volker Katz <[email protected]>
Newsgroups gmane.comp.java.jxta.user
Message-ID <[email protected]>
Hi,
On Thursday 28 July 2005 00:22, Bernard Traversat wrote:
> Yes, every peergroup defines its own network context and uses its
> own set of rendezvous. You can use two main policies either force
> one of your peer to act as RDV for the subgroup, or use the
> auto-elect RDV feature to let peers self-elect as RDV when there is a
> need to.
thank you very much for that explanation. Now I tried this:
dhtPeerGoup.getRendezVousService().setAutoStart(true);
rdv = dhtPeerGoup.getRendezVousService();
  
while (!rdv.isConnectedToRendezVous()) {
    try {
 Thread.sleep(2000);
    } catch (InterruptedException e1) {
}

But I never get out of the loop. When there is just one instance of my 
Application. So there ist just one member in this group - me. So I 
should become rendezvous-peer of this group, don't I?

Thanks & best regards
  Volker
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.