[Spread-users] getMembershipInfo() from java

John de la Garza john at jjdev.com
Mon Mar 31 15:26:13 EDT 2008

On Mar 28, 2008, at 3:07 AM, José Orlando Pereira wrote:
> On Friday 28 March 2008, John de la Garza wrote:
>> I'm new to spread and trying to write some demo code.  I can't get
>> getMembershipInfo() to return to me anything but null.  Am I doing
>> something wrong?
> You need to request membership messages when connecting and then use
> getMembershipInfo() only on membership messages.

I ran the code exactly as you made it and here is my output:

wait for messageNew membership message from  
spread.MembershipInfo at 8e3e60done

Still nothing...I get one message but it is telling me about a new  
group, I don't get the messages that I send as messages with group info.

More information about the Spread-users mailing list