My Project
D:/source/c++/Programme/sally/sally/sallyAPI/FacebookThread.h
Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 #pragma once
00029 #include "Define.h"
00030 #include <string>
00031 #include <vector>
00032 #include "Thread.h"
00033 #include "NetworkHelper.h"
00034 #include "SallyHelper.h"
00035 
00036 namespace SallyAPI
00037 {
00038         namespace Facebook
00039         {
00048 
00049                 class DLL_API_SALLY CFacebookThread :
00050                         public SallyAPI::System::CThread
00051                 {
00052                 private:
00053                         CRITICAL_SECTION                        m_critSectLockRequest;
00054                         std::vector<std::string>        m_vRequestList;
00055 
00056                         virtual void RunEx();
00057                 public:
00058                         CFacebookThread();
00059                         virtual ~CFacebookThread();
00060 
00061                         void Request(const std::string& server, int port, const std::string& request, const std::string& post = "");
00062                 };
00063         }
00064 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines