RE: How to leave a group

"Spiros Kalantzis" <[email protected]>
Newsgroups gmane.comp.java.jxta.user
Message-ID <[email protected]>
It won't shut down the group... Just your peer's instance of it. Once you leave, some other peer in the group will become the group rendezvous.

-----Original Message-----
From: Antonio Augusto (Mancha) [mailto:[email protected]]
Sent: August 4, 2005 12:14 AM
To: [email protected]
Subject: Re: [JXTA user] How to leave a group


Well, i don't want to "shut down" the group, i still want it to exist.
What i want is one peer to leave the group and stop receiving messages
from the others that will still be there

I thought teh resign would do that, but, well, it doesn't :)

Augusto

On 8/3/05, Mike [bondolo] Duigou <[email protected]> wrote:
> The membership resign() method is unrelated to shutting down a peer group.
> 
> In order to shutdown a peergroup you should call group.stopApp() and
> then call group.unref();
> 
> Mike
> 
> Chris wrote:
> > Same question from two users in two days ... Anybody have any suggestion for
> > us both?
> >
> > -----Original Message-----
> > From: Antonio Augusto (Mancha) [mailto:[email protected]]
> > Sent: Wednesday, August 03, 2005 6:03 AM
> > To: [email protected]
> > Subject: [JXTA user] How to leave a group
> >
> > Hello there,
> >
> > I've a doubt on how i do to leave a group after joining it.
> > I've been using the resign function of the MembershipService, but apparently
> > it don't quite work (i still get messages from that group).
> > Do i need to do something else besides the resign?
> >
> > Thanks
> > --
> > As coisas são como eleas são porque é assim que elas tinham de ser.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 


-- 
As coisas são como eleas são porque é assim que elas tinham de ser.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
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.