Back to index

nordugrid-arc-nox  1.1.0~rc6
JobControllerARC0.h
Go to the documentation of this file.
00001 // -*- indent-tabs-mode: nil -*-
00002 
00003 #ifndef __ARC_JOBCONTROLLERARC0_H__
00004 #define __ARC_JOBCONTROLLERARC0_H__
00005 
00006 #include <arc/client/JobController.h>
00007 
00008 namespace Arc {
00009 
00010   class URL;
00011 
00012   class JobControllerARC0
00013     : public JobController {
00014 
00015   private:
00016     JobControllerARC0(const UserConfig& usercfg);
00017   public:
00018     ~JobControllerARC0();
00019 
00020     void GetJobInformation();
00021     static Plugin* Instance(PluginArgument *arg);
00022 
00023   private:
00024     bool GetJob(const Job& job, const std::string& downloaddir);
00025     bool CleanJob(const Job& job, bool force);
00026     bool CancelJob(const Job& job);
00027     bool RenewJob(const Job& job);
00028     bool ResumeJob(const Job& job);
00029     URL GetFileUrlForJob(const Job& job, const std::string& whichfile);
00030     bool GetJobDescription(const Job& job, std::string& desc_str);
00031 
00032     static Logger logger;
00033   };
00034 
00035 } // namespace Arc
00036 
00037 #endif // __ARC_JOBCONTROLLERARC0_H__