[jdev] sending presence to specific transport
Justin Karneges
justin-keyword-jabber.093179 at affinix.com
Tue May 22 01:49:48 CDT 2007
On Monday 21 May 2007 11:45 pm, Eugeny N Dzhurinsky wrote:
> On Mon, May 21, 2007 at 07:32:48PM -0700, Chris Chen wrote:
> > This is possible. My way to test this would be to use another client
> > (ie. Psi) and see if the server is giving the same response.
>
> With Psi it is not possible to emulate such behavior, since it sends
> broadcast presence packet once conect and login to the server. I did in a
> bit different way - I send that global presence packet once connect to
> jabber server, and then send online status to each of gateways - and they
> respond!
>
> So looks like it is not possible to login into jabber server only, all
> registered transports becomes online immediately :(
Well, one thing you can do is not subscribe to the transport jids, and instead
send directed presence to them (this is possible with Psi, right-click on a
transport and choose Login). This way, you can login to the Jabber server
only, and then individually login (or logoff!) transports.
-Justin
More information about the JDev
mailing list