I'd like to detect when a member receives a forced LEAVE message by other members. In that case, the receiver will have to leave the group in any case.
I managed to get the SUSPECT events through a Membershiplistener, but I don't see how to do the same for the LEAVE events.
Is there also a simple way to test that ?
Thanks in advance for ur help.
So I assume you're not interested in the viewAccepted(View) event, but in a shun event. You could either register as ChannelListener with a channel, and listen for channelShunned() callbacks, or receive all events from a channel, and simply handle the Event.SHUN event.
thanks for your quick reply. No, I am not interested in the viewAccepted event. I just want an event that forces the member to leave the group...
I couldn't find Event.SHUN, however I found Event.EXIT. Is it this type of Event that I should use ?
What about the class ExitEvent ?
Is there some documentation about these shun/exit events, because I couldn't find any ?
Thanks in advance for your help.