[JDEV] Disconnected clients and MUC
Nuno Agapito
nmmag at mega.ist.utl.pt
Wed Mar 19 17:24:20 CST 2003
Yes, you are rigth.
Programming Jabber, DJ Adams, page 156:
"When JSM notices that a user has ended his session by
disconnecting, the presence handler invokes the availability tracker to
send unavailable <presence/> packet to all the JID's to witch the entity
had sent directed availability information during the lifetime of that
session."
This includes a group chat room. So the packet unavailable is delivered
to the chat room.
----- Original Message -----
From: <chelck at ebs.com>
To: <jdev at jabber.org>
Sent: Wednesday, March 19, 2003 8:43 PM
Subject: [JDEV] Disconnected clients and MUC
> Can someone explain what happens when a client violently disconnects from
a
> Jabber server? My understanding is that the server senses the broken
> connection and sends a <presence type="unavialable"/> on behalf of the
client
> to all interested parties. My question is how does the server know which
> parties are interested? In particular how is the user removed from a group
> chat room?
>
> We've been looking at the case where we need to remove a user as a member
> from a members-only room when the user disconnects. The user may or may
not
> have joined the room at the time of the disconnect.
>
> Thank you,
> Christopher Helck
>
****************************************************************************
> The information contained in this email is confidential. This email is
> intended for the stated addressee. If you are not an addressee, you
> must not disclose, copy, or circulate in any other way use or rely on
> the information contained in this Email. If you have received this
> email in error, please inform us immediately and delete all copies of
> it from your system.
>
> EBS Dealing Resources International Limited.
> Registered address: 55-56 Lincoln's Inn Fields, London WC2A 3LJ,
> United Kingdom. Registered number 2669861.
> The EBS Partnership. Registered address: 55-56 Lincoln's Inn Fields,
> London WC2A 3LJ, United Kingdom.
> EBS Dealing Resources, Inc, registered in Delaware.
> Addresses: 535 Madison Avenue, 24th Floor, New York, NY 10022, USA and
> One Upper Pond Road, Building F - Floor 3, Parsippany, NJ 07054, USA.
> EBS Dealing Resources Japan Limited, a Japanese Corporation.
> Address: Asteer Kayabacho Bldg., 6th Floor,1-6-1, Shinkawa, Chuo-ku,
> Tokyo 104-0033, Japan.
>
****************************************************************************
*
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
More information about the JDev
mailing list