AppCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
EAdvertisementCommMng.h
Go to the documentation of this file.
1 #ifndef E_ADVERTISEMENT_COMM_MNG_H
2 #define E_ADVERTISEMENT_COMM_MNG_H
3 
4 #include "pthread.h"
5 #include <string>
6 #include <vector>
7 #include <list>
8 
9 namespace EAdvertisements{
10  class ExportXMLSoapProxy;
11  class _ns1__FullExportEx2;
12 }
13 
16 class EAdvertisementCommMng /*: public ESingleton <EAdvertisementCommMng>*/
17 {
18 public:
21 
22  void UpdateAdvetisementData( long line, long trip, unsigned long deviceSNR, unsigned long buildNumber );
23  void RefreshAmounts();
24  void UploadSpends();
25 
27 
28  void SetWebServiceURL( std::string webServiceURL );
29 
30 private:
32 
33  static void *ThreadUpdateAdvertisementData( void *arg );
34  static void *ThreadRefreshAmounts( void *arg );
35  static void *ThreadUploadSpends( void *arg );
36 };
37 
38 #endif //E_ADVERTISEMENT_COMM_MNG_H
~EAdvertisementCommMng()
Definition: EAdvertisementCommMng.cpp:83
void RefreshAmounts()
Definition: EAdvertisementCommMng.cpp:113
void UploadSpends()
Definition: EAdvertisementCommMng.cpp:132
Definition: EAdvertisementCommMng.h:16
void SetWebServiceURL(std::string webServiceURL)
Definition: EAdvertisementManager.h:16
Definition: EAdvertisementCommMng.cpp:28
bool IsCommunicationInProgress()
Definition: EAdvertisementCommMng.cpp:151
EAdvertisementCommMng(EAdvertisementManager *owner)
Definition: EAdvertisementCommMng.cpp:67
void UpdateAdvetisementData(long line, long trip, unsigned long deviceSNR, unsigned long buildNumber)
Definition: EAdvertisementCommMng.cpp:88
Definition: EAdvertisementCommMng.h:9