[JDEV] Presence probe requests

Robert Norris rob at cataclysm.cx
Mon Mar 31 22:11:12 CST 2003


> After restarting the server, it is necessary to fetch the state of
> subscribed contacts again, so I send this to the transport:
> 
> <presence to='267594679 at aim.jabber.cz/' from='qwe at netwin.co.nz/' type='probe'/>
> 
> and receive no reply. Is this normal behavior for the transports or am
> I just doing something wrong here?

First thing: your JIDs are malformed - if you don't have a resource,
then remove the '/'.

A transport typically requires a user to login (either by doing a
registration or sending presence to the transport). After the login, it
sends available presence for the foreign network entities that the user
is subscribed to (assuming they're online).

There doesn't seem to be a need for a transport to respond to presence
probes, since the act of logging in effectively does the same job.

So, I expect that transports simply don't implement it. To be able to
respond, you would have already had to login to the transport
previously, which makes it kind of pointless.

Having said that, I'm not a transport author, so I don't know for sure
:)

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: not available
URL: <https://www.jabber.org/jdev/attachments/20030401/f5888b40/attachment-0002.pgp>


More information about the JDev mailing list