[jdev] sending presence to specific transport

Eugeny N Dzhurinsky bofh at redwerk.com
Tue May 22 02:18:13 CDT 2007

On Mon, May 21, 2007 at 11:49:48PM -0700, Justin Karneges wrote:
> 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.

What if I don't subscribe to a transport, will that affect sending and
receiving messages through it?

Eugene N Dzhurinsky

More information about the JDev mailing list