Coding my SMS chat application, I was wondering why the XMPPConnection class does not provide a logout() method since it has a login() one. I have noticed that close() stops the connection with the server. To suit me more, XMPPConnection should have a logout() method that sets the presence to unavailable without closing , leaving the XMPPConnection instance in the same state as after its creation (so that login() can be called again on this instance).
But maybe, such a method is not XMPP compliant (and that is the reason why it does not exist), is it?
Thanks for your help,