Hi,
I meant kick out on the TCP level. Obviously it is handled by
onDisconnect() but the question is whether it is possible to detect
being kicked out rather than a network error for example. Does the
server/XMPP have any specs about it?
Thanks,
Rafi Rainshtein
Clients Team Leader
Phone: +972.3.976.7631
Fax: +972.3.976.7671
rrainshtein@xxxxxxxxxxxxx
MyRoom.interwise.com
-----Original Message-----
From: Jakob Schroeter [mailto:js@xxxxxxxxxx]
Sent: Wednesday, July 11, 2007 01:14
To: gloox-dev@xxxxxxxxxx
Subject: Re: [gloox-dev] Identifying Kick-out
On Tue Jul 10 2007, Rafi Rainshtein wrote:
> Hi,
>
>
>
> I was wondering whether there's a way to tell whether a user has been
> kicked-out by the server (maybe through onDisconnect())?
Kicked out as in disconnect on TCP level? Or kicked from a MUC room?
The former should be handled by onDisconnect(), the latter by
MUCRoomHandler::handleMUCParticipantPresence() with the flags parameter
containing UserSelf | UserKicked.
cheers,
Jakob