[jdev] Re: PubSub question

trejkaz at trypticon.org trejkaz at trypticon.org
Tue Apr 19 21:35:36 CDT 2005


>> This is fine but how do you know which server to ask?
>
> If you are just using your local pubsub server you would discover this
> using
> service discovery at login, but yes if you are using other servers as
> ralph
> points out you would need to maintain a list of servers to which you have
> subscriptions in the client.

That handles subscriptions made from that client, but what about
subscriptions made to the same JID from different clients?

It would need to be stored in private storage, presumably.  Another way
would be to have the pubsub services on the roster somehow, as
transports/gateways are.

TX






More information about the JDev mailing list