librelist archives

« back to archive

Question reqarding how to get RID.

Question reqarding how to get RID.

From:
Mohit Jain
Date:
2015-04-29 @ 21:19
 Hi All.
I am using below Jbosh and smack version.
 <smack.version>4.0.7</smack.version> <jbosh.version>0.8.0</jbosh.version>
Connecting xmpp server below code
BOSHConfiguration boshConfiguration = new BOSHConfiguration(isXmppSslCon, 
xmppServerIp, xmppServerPortNumber, httpBindString, xmppServerName); 
boshConfiguration.setDebuggerEnabled(false);
  XMPPBOSHConnection connection = new XMPPBOSHConnection(boshConfiguration);

I am not able to get the RID fromĀ  the connection because BOSHClient is 
the private variable. I do not want to change the third party code.
Could any one help me how I can get RID on server side for initialize the 
converse.js.
Please advice
Thanks,Mohit Jain