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 |
|
__init__ (self)
Constructs an instance. |
|
__del__ (self)
Destroys an instance. |
|
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. |
|
register_callback_registration (self,
jobContact,
jobStateMask,
callbackContact,
attr,
func,
userArg)
Non-blocking callback registration. |
|
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. |
|
set_callback (self,
callback,
arg)
Sets a callback. |
|
submit_request (self,
resourceManager,
description,
jobStateMask,
callbackContact)
Submits a job request to a resource manger. |
|
unregister_callback (self,
jobContact,
callbackContact)
Unregisters a callback. |
|
version (self)
Returns an int version number for the gram client package. |