[jdev] Offline messages to users on transports
Alexey Nezhdanov
snake at penza-gsm.ru
Thu Aug 4 05:30:25 CDT 2005
В сообщении от Понедельник 01 Август 2005 17:37 Johan написал(a):
> Hi
> I'm sorry if I'm asking stupid questions. I have looked around and not
> found the answers so if you could tell me where to start looking it would
> be great...
>
> I was thinking about implementing a component in that can be run on the
> server to let users of proprietary protocols that dont support offline
> messages send them to me anyway. I would also like to be able to send
> offline messages to such persons through the transports on the server.
>
> Receiving messages from other clients while I'm offline I can achieve by
> putting in an extra client on the server and then feed the messages back
> into the server when I go online on my 'real' client.
Not neccessary. You just can stay online in transport but offline in jabber.
In this case all your proprietary network users will see you as
"online" (probably some sort of xa is better idea) and send you messages that
will be queueed in server. So you will not need any hacks in this case. You
will just need to not subscribe your transport to your presence so when you
will go offline in jabber - transport will not notice it and will stay
online.
>
> But how should I do it the opposite way? How can I capture the messages I
> send from my main client to the server, look if the user is online and
> then delay the message if he isn't?
If proprietary network doesn't support this then this should be done either in
transport (how to do it depends on transport that you use) or in server (to
store messages for remote clients).
>
> Any hints appreciated. Jabber is kind of a black box to me right now. So
> where should I start looking?
>
> /Johan
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mail.jabber.org/mailman/listinfo/jdev
--
Respectfully
Alexey Nezhdanov
More information about the JDev
mailing list