Hi
I'm trying to do prebind using Jbosh (smack bosh) to connect with Openfire
server. However I dont know how to get the RID and SID value.
I have implemented this code:
BOSHConfiguration config = new BOSHConfiguration(false, "127.0.0.1", 7070, "/http-bind/", "your.domain.com", "xmpp:127.0.0.1:5222");
//create a connection
BOSHConnection connection = new BOSHConnection(config);
connection.connect();
connection.login(userName, password, resource);
using following library
https://github.com/eriksson/smack-bosh
But i can not find anywhere how can i get sid and rid from the Bosh connection so i can attach it in the Strophe at client side.
Can anyone help me here ? I know this is very old question but i did not find anywhere its solution.
Thanks
Mihir Parekh