[jdev] Protect message between multiple client instance

Norman Rasmussen norman at rasmussen.co.za
Fri Feb 5 17:57:23 CST 2010


You can connect with a custom resource, and then send the message/iq
directly to the resource.  If you send an iq instead of message, then the
server will not default to sending it to the user's generic client if the
custom client is not connected.

On Fri, Feb 5, 2010 at 11:20 PM, Davide Cerbo <davidecerbo at gmail.com> wrote:

> Hi all, I am developing a little application to do an experiment.
> I have the following scenario:
> - one XMPP bot with id bot at abc.com)
> - one user connect with a generic client, with id user at abc.com and that
> have the XMPP bot between his contacts
> - the same user with id user at abc.com connect from my custom client
>
> It's possible to send a message from bot at abc.com to user at abc.com connected
> with my custom client?
> I do not want that the user logged with generic client receive the message.
> I need it because I want to send via XMPP: chat messages and also command
> to throw some events in my custom client and I do not like if the user views
> them.
>
> Any suggest would be very appreciate.
> I hope you understand my explanation because I'm an Italian boy and my
> english is not so good :)
> Thank you very much
>
> --
> --
> Davide Cerbo
> -----------
> http://davide.cerbo.born-to-co.de
> http://jesty.it
> -----------
> http://www.exmachina.ch
> + 39 329 70 81 927
> -----------
>
> _______________________________________________
> JDev mailing list
> Forum: http://www.jabberforum.org/forumdisplay.php?f=20
> Info: http://mail.jabber.org/mailman/listinfo/jdev
> Unsubscribe: JDev-unsubscribe at jabber.org
> _______________________________________________
>
>


-- 
- Norman Rasmussen
- Email: norman at rasmussen.co.za
- Home page: http://norman.rasmussen.co.za/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20100205/53332604/attachment-0001.htm>


More information about the JDev mailing list