Back to index

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