Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

UserJobs.h

Go to the documentation of this file.
00001 #ifndef EDG_WORKLOAD_USERINTERFACE_CLIENT_USERJOBS_H
00002 #define EDG_WORKLOAD_USERINTERFACE_CLIENT_USERJOBS_H
00003 /*
00004  * UserJobs.h
00005  * Copyright (c) 2001 The European Datagrid Project - IST programme, all rights reserved.
00006  * Contributors are mentioned in the code where appropriate.
00007  *
00008  */
00009 
00010 #include  "edg/workload/userinterface/client/Job.h"
00011 #include <list>
00012 
00013 namespace classad {
00014    class ClassAd ;
00015 }
00016 namespace edg{
00017    namespace  workload{
00018      namespace  common{
00019         namespace jobid {
00020                class JobId ;
00021         }
00022      }
00023    }
00024 }
00025 USERINTERFACE_NAMESPACE_BEGIN //Defining UserInterFace NameSpace
00026 #define UJ_CANCEL_ERR           -1
00027 
00038 class UserJobs{
00039    public:
00040 
00044       UserJobs () ;
00046       ~UserJobs ();
00049       UserJobs (const std::string cred_path) ;
00051 
00054 
00060         void getJobs ( const std::string& lbHost, int lbPort,  std::vector<edg::workload::common::jobid::JobId> &jobs ) ;
00061 
00066         void getStatus   (const std::string& lbHost , int lbPort ,  std::vector <edg::workload::logging::client::JobStatus> &jobsStatus) ;
00068 
00069    private:
00070       UserCredential uc ;
00071       std::string cred_path ;
00072 
00073 };
00074 USERINTERFACE_NAMESPACE_END } //Closing  UserInterFace NameSpace
00075 #endif

Generated on Wed Mar 1 00:39:46 2006 for USERINTERFACE C++ API by doxygen 1.3.5