Back to index

nordugrid-arc-nox  1.1.0~rc6
client.h
Go to the documentation of this file.
00001 #include <list>
00002 
00003 #include <arc/URL.h>
00004 #include <arc/client/ClientInterface.h>
00005 
00006 #include "JobRecord.h"
00007 
00008 //#include "../client/client.h"
00009 
00010 //#include "logger_soapStub.h"
00011 //#include "logger2_soapStub.h"
00012 
00013 //extern struct Namespace logger_soap_namespaces[];
00014 //extern struct Namespace logger2_soap_namespaces[];
00015 
00016 namespace ARex {
00017 
00018 class LoggerClient {
00019  private:
00020   Arc::URL url;
00021   Arc::ClientSOAP* client;
00022   //struct soap soap;
00023   bool SameContact(const char* url);
00024   bool NewURL(const char* url);
00025  public:
00026   LoggerClient(void);
00027   ~LoggerClient(void);
00028   bool Initialized(void);
00029   bool ReportV2(const char* url,std::list<JobRecord>& info);
00030   //bool Report(const char* url,std::list<nl2__UsageRecord>& info);
00031   //bool ReportV1(const char* url,std::list<nl2__UsageRecord>& info);
00032   //bool ReportV2(const char* url,std::list<nl2__UsageRecord>& info);
00033   //bool Query(const char* url,const char* q,unsigned long long offset,unsigned long long size,std::list<nl2__UsageRecord>& info);
00034   //bool QueryV1(const char* url,const char* q,unsigned long long offset,std::list<nl2__UsageRecord>& info);
00035   //bool QueryV2(const char* url,const char* q,unsigned long long offset,unsigned long long size,std::list<nl2__UsageRecord>& info);
00036 };
00037 
00038 }
00039