On Sep 25, 2009, at 4:33 AM, Paul Witty <[email protected]> wrote:
Is there documented anywhere the rules of how presence information works with components? e.g. can components subscribe to clients' presence information, or send presence probes etc. Likewise, can a component publish presence, and clients subscribe to its presence, but including things like publishing presence for component.xmppserver.com , and clients getting that presence for [email protected] ?
A component is just like a server jid. Presence can be routed to and from, subscriptions can be made. Probes will likely need to be sent and are likely to be recieved. There is no session management, so you'll have to implement roster storage yourself or fake it.
And yes, you can send and recieve from any user and resource for your component's domain.
If you look at a transport component, they do all of these things. -Nathan Fritz (cellphone)
-- Paul Witty
