Back to index

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