We are writing an Android app using Smack. We would like to be able to use stream resumption after the app has been restarted to save bandwidth, but currently all the stream management information is private to the connection (so the app cannot save this information).
We want to provide methods on the connection so that the app can get the stream management state from the connection and save it before the app is killed. We then want to provide this information to the Connection configuration so that the new connection picks up the stream management information and uses it when connecting to the server.
Does this sound like a reasonable change?