Back to index

nordugrid-arc-nox  1.1.0~rc6
SubmitterBES.h
Go to the documentation of this file.
00001 // -*- indent-tabs-mode: nil -*-
00002 
00003 #ifndef __ARC_SUBMITTERBES_H__
00004 #define __ARC_SUBMITTERBES_H__
00005 
00006 #include <arc/client/Submitter.h>
00007 #include <arc/XMLNode.h>
00008 #include <arc/URL.h>
00009 #include <arc/loader/Loader.h>
00010 #include <arc/client/ClientInterface.h>
00011 
00012 namespace Arc {
00013 
00014   class Config;
00015 
00016   class SubmitterBES
00017     : public Submitter {
00018 
00019   private:
00020     static Logger logger;
00021 
00022     SubmitterBES(const UserConfig& usercfg);
00023     ~SubmitterBES();
00024 
00025   public:
00026     static Plugin* Instance(PluginArgument *arg);
00027     virtual URL Submit(const JobDescription& jobdesc,
00028                const ExecutionTarget& et) const;
00029     virtual URL Migrate(const URL& jobid, const JobDescription& jobdesc,
00030                 const ExecutionTarget& et,
00031                 bool forcemigration) const;
00032     virtual bool ModifyJobDescription(JobDescription& jobdesc, const ExecutionTarget& et) const;
00033   };
00034 
00035 } // namespace Arc
00036 
00037 #endif // __ARC_SUBMITTERBES_H__