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

Job Class Reference

L&B job. More...

List of all members.

Public Member Functions

 Job (void)
 Job (const edg::workload::common::jobid::JobId &)
 ~Job ()
Joboperator= (const edg::workload::common::jobid::JobId &)
 Assign new JobId to an existing instance.

JobStatus status (int) const
 Return job status.

void log (std::vector< Event > &) const
 Return all events corresponding to this job.

const std::vector< Eventlog (void) const
const std::pair< std::string,
uint16_t > 
queryListener (const std::string &name) const
 Return last known address of a listener associated to the job.

void setParam (edg_wll_ContextParam, int)
 Manipulate LB parameters, the same as for edg_wll_Context in C.

void setParam (edg_wll_ContextParam, const std::string)
void setParam (edg_wll_ContextParam, const struct timeval &)
int getParamInt (edg_wll_ContextParam) const
std::string getParamString (edg_wll_ContextParam) const
timeval getParamTime (edg_wll_ContextParam) const

Static Public Attributes

const int STAT_CLASSADS
 various job description fields

const int STAT_CHILDREN
 list of subjob JobId's

const int STAT_CHILDSTAT
 apply the flags recursively to subjobs


Detailed Description

L&B job.

Implementation of L&B job-specific calls. Connection to the server is maintained transparently.


Constructor & Destructor Documentation

Job void   ) 
 

Job const edg::workload::common::jobid::JobId &   ) 
 

~Job  ) 
 


Member Function Documentation

int getParamInt edg_wll_ContextParam   )  const
 

std::string getParamString edg_wll_ContextParam   )  const
 

struct timeval getParamTime edg_wll_ContextParam   )  const
 

const std::vector<Event> log void   )  const
 

void log std::vector< Event > &   )  const
 

Return all events corresponding to this job.

Job& operator= const edg::workload::common::jobid::JobId &   ) 
 

Assign new JobId to an existing instance.

Connection to server is preserved if possible.

const std::pair<std::string,uint16_t> queryListener const std::string &  name  )  const
 

Return last known address of a listener associated to the job.

Parameters:
name name of the listener
Returns:
hostname and port number

void setParam edg_wll_ContextParam  ,
const struct timeval & 
 

void setParam edg_wll_ContextParam  ,
const std::string 
 

void setParam edg_wll_ContextParam  ,
int 
 

Manipulate LB parameters, the same as for edg_wll_Context in C.

JobStatus status int   )  const
 

Return job status.


Member Data Documentation

const int STAT_CHILDREN [static]
 

list of subjob JobId's

const int STAT_CHILDSTAT [static]
 

apply the flags recursively to subjobs

const int STAT_CLASSADS [static]
 

various job description fields

Used ORed as Job::status() argument, determine which status fields are actually retrieved.


The documentation for this class was generated from the following file:
Generated on Wed Mar 1 00:38:53 2006 for L&B API CPP by doxygen 1.3.5