[JDEV] Passing a Client Stream between Servers

Chris Mullins cmullins at winfessor.com
Wed Mar 26 18:03:16 CST 2003


I've read the documentation for the Stream::Error:Redirect in the latest
version of the XMPP documentation, and have a question.

When can the stream redirect be sent? From what I read, it appears makes
sense to expect it when the stream is first connected. 

Is it possible to have the server decide "I'm about to go down, let me
hand all my client connections to this other server", and have all
compliant Clients seamlessly redirect? That is, can I (as a client
developer) ever expect to see the Stream Redirect in the middle
(so-to-speak) of a session? 

If so, what should the client behavior be? Should it be a seamless
redirection / auto-log in (this seems a bit sketchy), or some sort of
"You're being redirected to <..>" dialog?

-- 
Chris Mullins



More information about the JDev mailing list