Back to index

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