Re: Became Rendezvous Peer
Fabrizio Marozzo <[email protected]>
| Newsgroups | gmane.comp.java.jxta.user |
|---|---|
| Message-ID | <[email protected]> |
On 7/26/05, James Todd <[email protected]> wrote: > > Yes. For MyJXTA we choose a value of 2 minutes. A best practice appears to be > to use that value consistently for all edge applications which join subgroups, > aka application groups. > > hth, > > - james > > -- > James Todd :: blogs.sun.com/gonzo | weblogs.java.net/blog/gonzo > > MyJXTA :: use it - learn it - do it > > Java == platform independence > XML == application independence > JXTA == network independence > > Secure End-to-End Computing > > > Poole, Paul P1 wrote: > > So, by default, autostart is enabled in MyJXTA? > > > > -----Original Message----- > > From: [email protected] [mailto:[email protected]] > > Sent: Tuesday, July 26, 2005 11:15 AM > > To: [email protected] > > Subject: Re: [JXTA user] Became Rendezvous Peer > > > > > > > > The "auto start" method, last of the 3 in my response, is specifically > > designed for this scenario in mind. > > > > MyJXTA does this for each subgroup, not NetPeerGroup, that it joins. > > Selecting a relevant timing threshold (the period) is key for > > application deployments such that they don't all rush to become rdvs too > > quickly yet they don't linger too long either, seeking an available Rdv > > with which to obtain a lease from. > > > > MyJXTA does this in: > > > > /net/jxta/myjxta/MyJXTA.joinGroup(Group, boolean, boolean, boolean, > > int) > > > > last line of that method > > > > hth, > > > > - james > > > > -- > > James Todd :: blogs.sun.com/gonzo | weblogs.java.net/blog/gonzo > > > > MyJXTA :: use it - learn it - do it > > > > Java == platform independence > > XML == application independence > > JXTA == network independence > > > > Secure End-to-End Computing > > > > > > Poole, Paul P1 wrote: > > > >>Along this line of questioning... > >> > >>If a peer is unable to find a rendezvous peer, what configuration is > >>required (if any) to ensure that the peer will automatically become a > >>rendezvous peer? > >> > >>Thanks... > >> > >>-Paul > >> > >>-----Original Message----- > >>From: [email protected] [mailto:[email protected]] > >>Sent: Tuesday, July 26, 2005 11:04 AM > >>To: [email protected] > >>Subject: Re: [JXTA user] Became Rendezvous Peer > >> > >> > >> > >> > >> > >>>How does a peer become a rendezvous peer? > >> > >> > >>3 ways: > >> > >> as configured for the app NetPeerGroup > >> > >> via the RendezVousService > >> > >> PeerGroup.getRendezVousService().startRendezVous() > >> PeerGroup.getRendezVousService().stopRendezVous() > >> > >> via "autostart" > >> > >> PeerGroup.getRendezVousService().setAutoStart(boolean enabled, > >>long > >>period) > >> > >>For prototypical edge applications, the autostart method is likely > >>your best bet. > >> > >>hth, > >> > >>- james > >> > >>-- > >>James Todd :: blogs.sun.com/gonzo | weblogs.java.net/blog/gonzo > >> > >>MyJXTA :: use it - learn it - do it > >> > >>Java == platform independence > >>XML == application independence > >>JXTA == network independence > >> > >>Secure End-to-End Computing > >> > >> > >>Fabrizio Marozzo wrote: > >> > >> > >>>How does a peer become a rendezvous peer? > >>>The peer must implements any interface.........? > >>>Please > >>>Fabrizio > >>> > >>>--------------------------------------------------------------------- > >>>To unsubscribe, e-mail: [email protected] > >>>For additional commands, e-mail: [email protected] > >>> > >> > >> > >>--------------------------------------------------------------------- > >>To unsubscribe, e-mail: [email protected] > >>For additional commands, e-mail: [email protected] > >> > >> > >>--------------------------------------------------------------------- > >>To unsubscribe, e-mail: [email protected] > >>For additional commands, e-mail: [email protected] > >> > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > The peers of my groups use the autoStart........ If the RDV peer exits from my group, passes time (2-3 minutes) before to elect another RDV peer.... How could I avoid this? What is the different between an autoStart with a period and without?