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

UserJobs Class Reference

Allow controlling all the jobs owned by the user The UserJobs class provides methods that allow controlling all the user's jobs during its lifetime. Allow controlling all the jobs owned by the user. More...

List of all members.

Public Member Functions

Constructors/Destructor
 UserJobs ()
 Instantiates an UserJobs object using default user credential.

 ~UserJobs ()
 Destructor.

 UserJobs (const std::string cred_path)
 Instantiates an UserJobs object using non-default credential.

Action Methods
void getJobs (const std::string &lbHost, int lbPort, std::vector< edg::workload::common::jobid::JobId > &jobs)
 Retreive the jobs owned by the user in a specific LB.

void getStatus (const std::string &lbHost, int lbPort, std::vector< edg::workload::logging::client::JobStatus > &jobsStatus)
 Retrieve the status of all the user's jobs.


Detailed Description

Allow controlling all the jobs owned by the user The UserJobs class provides methods that allow controlling all the user's jobs during its lifetime. Allow controlling all the jobs owned by the user.

such as getting their status, or cancelling them

Version:
0.1
Date:
15 April 2002
Author:
Alessandro Maraschini <alessandro.maraschini@datamat.it>


Constructor & Destructor Documentation

UserJobs  ) 
 

Instantiates an UserJobs object using default user credential.

~UserJobs  ) 
 

Destructor.

UserJobs const std::string  cred_path  ) 
 

Instantiates an UserJobs object using non-default credential.

Parameters:
cred_path The proxy certificate file where to retrive credential from


Member Function Documentation

void getJobs const std::string &  lbHost,
int  lbPort,
std::vector< edg::workload::common::jobid::JobId > &  jobs
 

Retreive the jobs owned by the user in a specific LB.

Parameters:
lbHost the LB server host name
lbPort the LB server port value
jobs the vector of JobId which will be filled with all the user jobs

void getStatus const std::string &  lbHost,
int  lbPort,
std::vector< edg::workload::logging::client::JobStatus > &  jobsStatus
 

Retrieve the status of all the user's jobs.

Parameters:
lbHost the LB server host name
lbPort the LB server port value
jobsStatus the vector to be filled of all the jobs status information


The documentation for this class was generated from the following file:
Generated on Wed Mar 1 00:39:46 2006 for USERINTERFACE C++ API by doxygen 1.3.5