[jdev] mirroring many presence servers

Jonathan Chayce Dickinson chayce.za at gmail.com
Wed Aug 15 03:34:35 CDT 2007


Hey,

If you know the language that your server is written in you could catch
all the presence notifications before sending them on and store them
locally (in your database etc.).

However, what you are asking kinda doesn't make sense. If you never get
a presence notification from a contact, they *are* offline (if you
notice, while your client is connecting to a Jabber server all your
contacts briefly show as offline), unless you are not subscribed to
them, in which case you would never know anyway.

Hope this helps.

Cheers,
 Jonathan Dickinson

On Wed, 2007-08-15 at 10:19 +0200, cherami at gmx.de wrote:
> Hi,
> 
> I have the following scenario in my student project. Which solution
> would you propose?
> 
> I have many business partners "B", "C" and "D", each of them has his
> own presence server "PB", "PC" and "PD".
> 
> I need in my organisation "A" a presence service "PA", who "mirros"
> the actual status of all the users on PB, PC and PD, to whom I
> subscribed. 
> 
> I know, that I could implement my presence service PA as a client, who
> subscribes to all the users on PB, PC and PD. What I am asking for: is
> there an other solution? 
> 
> 1. Can I be on the one hand a client of the servers PB, PC, PD, and on
> the other hand a "server" for other applications/clients/servers.
> 
> 2. Can I say to the other servers PB, PC and PD "hey, I am a presence
> server (and not a client), would you please send me each change of the
> status of my users, to whom I subscribed".
> 
> 3. Can I make benefit of the s2s protocol in my scenario?
> 
> You can say: What I want to have, is a local presence service in my
> organisation, who localy mirros many others presence servers of other
> partners. How would be your solution?
> 
> Thank you for your help and your patience.
> Koder 
> 
> 
> 
> -- 
> Psssst! Schon vom neuen GMX MultiMessenger gehört?
> Der kanns mit allen: http://www.gmx.net/de/go/multimessenger
-- 
Jonathan Dickinson
Developer [Xeer Technology]

email:      chayce.za at gmail.com
jabber:     chayce.za at jabber.org
twitter:    Moitoius

Principle will kick us all in the butt one day. If you have principle,
you have all you will ever need.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20070815/fa48dea2/attachment-0002.pgp>


More information about the JDev mailing list