Files
        @ b8926b4f0c3b
    
        
              Branch filter: 
        
    Location: libtransport.git/backends/twitter/Requests/PINExchangeProcess.h - annotation
        
            
            b8926b4f0c3b
            685 B
            text/plain
        
        
    
    Web interface: first try of API server + javascript based starting/stopping of instances
    | cb62e786889f cb62e786889f cb62e786889f 78e71f9345c7 cb62e786889f cb62e786889f 78e71f9345c7 cb62e786889f cb62e786889f cb62e786889f cb62e786889f cb62e786889f cb62e786889f cb62e786889f cb62e786889f cb62e786889f cb62e786889f cb62e786889f cb62e786889f cb62e786889f cb62e786889f cb62e786889f cb62e786889f b62ef77146eb cb62e786889f cb62e786889f cb62e786889f cb62e786889f cb62e786889f cb62e786889f b62ef77146eb cb62e786889f cb62e786889f cb62e786889f cb62e786889f cb62e786889f cb62e786889f cb62e786889f | #ifndef PIN_EXCHANGE
#define PIN_EXCHANGE
#include "transport/ThreadPool.h"
#include "../libtwitcurl/twitcurl.h"
#include "../TwitterPlugin.h"
#include "transport/Logging.h"
#include <string>
#include <iostream>
//class TwitterPlugin;
using namespace Transport;
class PINExchangeProcess : public Thread
{
	twitCurl *twitObj;
	std::string data;
	std::string user;
	TwitterPlugin *np;
	bool success;
	
	public:
	PINExchangeProcess(TwitterPlugin *_np, twitCurl *obj, const std::string &_user, const std::string &_data) {
		twitObj = obj->clone();
		data = _data;
		user = _user;
		np = _np;
	}
	~PINExchangeProcess() {
		delete twitObj;
	}	
	void run();
	void finalize();
};
#endif
 |