[jdev] Re: writing components for jabberd2

Robert Norris rob at cataclysm.cx
Fri May 7 01:28:34 CDT 2004


On Fri, May 07, 2004 at 02:22:31AM +0200, Maciej Dziardziel wrote:
> Is presence packet one of those "special"? As i understand, when components
> binds to domain (sending only <bind> tag) other components automaticly
> receive (un<routed>) <presence> packet, but what about sending <presence>
> (with status)?

If you receive a raw <presence/> packet from the router, then you know
its a domain advertisement. If you receive <route><presence/></route>,
then you know its from a component. Its meaning in that case entirely
depends on what the sending component is.

Rob.

-- 
Robert Norris                                       GPG: 1024D/FC18E6C2
Email+Jabber: rob at cataclysm.cx                Web: http://cataclysm.cx/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20040507/2be77daf/attachment-0002.pgp>


More information about the JDev mailing list