Home | Trees | Index | Help |
---|
Package pyGlobus :: Module gramClient :: Class GramClient |
|
The main interface to the gram client module.
It is mainly a proxy class for the gramClient module. It provides a higher level interface designed to simplify usage. Exceptions are used to indicate all error conditions.Method Summary | |
---|---|
Constructs an instance. | |
Destroys an instance. | |
Cancels a job. | |
Checks the status of a current job. | |
Enables debugging output. | |
Pings a gatekeeper. | |
Refresh credentials assosciated with a job. | |
Registers a callback. | |
Non-blocking callback registration. | |
Cancels a job, giving return information to a callback rather than blocking for it. | |
Nonblocking query of a job's status. | |
Non-blocking for of credential refresh. | |
Non-blocking submit a job request to a resource manger. | |
Stops the callback. | |
Sets a callback. | |
Submits a job request to a resource manger. | |
Unregisters a callback. | |
Returns an int version number for the gram client package. |
Method Details |
---|
__init__(self)
|
__del__(self)
|
cancel_job(self, jobContact)Cancels a job.
|
check_status(self, jobContact)Checks the status of a current job.
|
debug(self)Enables debugging output. |
ping(self, jobContact)Pings a gatekeeper.
|
refresh_credentials(self, jobContact, cred)Refresh credentials assosciated with a job.
|
register_callback(self, jobContact, stateMask, callbackContact)Registers a callback. Sets the function to receive job state changes for the given job.
|
register_callback_registration(self, jobContact, jobStateMask, callbackContact, attr, func, userArg)Non-blocking callback registration. Sets the function to receive job state changes for the given job.
|
register_cancel_job(self, jobContact, attr, callback, arg)Cancels a job, giving return information to a callback rather than blocking for it.
|
register_check_status(self, jobContact, attr, callback, arg)Nonblocking query of a job's status. This function queries the status of the job associated with the job contact, returning it's current job status and job failure reason if it has failed.
|
register_refresh_credentials(self, jobContact, cred, attr, func, userArg)Non-blocking for of credential refresh.
|
register_submit_request(self, resourceManager, description, jobStateMask, callbackContact, attr, func, userArg)Non-blocking submit a job request to a resource manger.
|
remove_callback(self, callbackContact)Stops the callback. Stops the callback from listening for job state changes and cleans up any resources.
|
set_callback(self, callback, arg)Sets a callback. Sets the function to be notified of job state changes.
|
submit_request(self, resourceManager, description, jobStateMask, callbackContact)Submits a job request to a resource manger.
|
unregister_callback(self, jobContact, callbackContact)Unregisters a callback. Stop notifing the callback of job state changes for the given job.
|
version(self)Returns an int version number for the gram client package. |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Tue Apr 4 14:32:55 2006 | http://epydoc.sf.net |