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
+8
View File
@@ -34,6 +34,10 @@ public:
~XmppParser();
public:
/**
* Init the XML parser and install the callbacks
*/
void init_xml_parser();
/**
* Feed the parser with some XML data
*/
@@ -42,6 +46,10 @@ public:
* Parse the data placed in the parser buffer
*/
int parse(const int size, const bool is_final);
/**
* Reset the parser, so it can be used from scratch afterward
*/
void reset();
/**
* Get a buffer provided by the xml parser.
*/