Reconnected immediately to the XMPP whenever it closes the connection

This commit is contained in:
Florent Le Coz
2014-03-24 20:31:02 +01:00
parent e196d2f1f4
commit ffc820e234
6 changed files with 46 additions and 0 deletions
+4
View File
@@ -41,6 +41,10 @@ public:
* Connect to the XMPP server.
*/
void start();
/**
* Reset the component so we can use the component on a new XMPP stream
*/
void reset();
/**
* Serialize the stanza and add it to the out_buf to be sent to the
* server.