Files
@ be3af42a21a7
Branch filter:
Location: libtransport.git/backends/twitter/Requests/HelpMessageRequest.h - annotation
be3af42a21a7
648 B
text/plain
MySQLBackend: disable autoreconnect, control CR_SERVER_LOST manually
* correctly recreate prepared statements
* do not close connection while reconnecting
* signed/unsigned comparison fix
* correctly recreate prepared statements
* do not close connection while reconnecting
* signed/unsigned comparison fix
a2b385e88f06 a2b385e88f06 a2b385e88f06 78e71f9345c7 a2b385e88f06 78e71f9345c7 a2b385e88f06 6e1413bf21d3 a2b385e88f06 a2b385e88f06 a2b385e88f06 a2b385e88f06 a2b385e88f06 a2b385e88f06 a2b385e88f06 57a728834db6 6e1413bf21d3 6e1413bf21d3 6e1413bf21d3 a2b385e88f06 57a728834db6 a2b385e88f06 6e1413bf21d3 57a728834db6 a2b385e88f06 a2b385e88f06 a2b385e88f06 a2b385e88f06 a2b385e88f06 a2b385e88f06 a2b385e88f06 | #ifndef HELPMESSAGE_H
#define HELPMESSAGE_H
#include "transport/ThreadPool.h"
#include "../libtwitcurl/twitcurl.h"
#include "transport/Logging.h"
#include <string>
#include <boost/function.hpp>
#include <iostream>
using namespace Transport;
class HelpMessageRequest : public Thread
{
std::string user;
std::string jid;
std::string helpMsg;
boost::function<void (std::string &, std::string &)> callBack;
public:
HelpMessageRequest(const std::string &_user, const std::string &jid, boost::function<void (std::string &, std::string &)> cb) {
user = _user;
callBack = cb;
this->jid = jid;
}
void run();
void finalize();
};
#endif
|