Package prlsdkapi :: Class Job
[hide private]
[frames] | no frames]

Class Job

object --+    
         |    
   _Handle --+
             |
            Job

Provides methods for managing asynchronous operations (jobs).

Instance Methods [hide private]
 
wait(self, msecs=9223372036854775807)
Suspend the main thread and wait for the job to finish.
 
cancel(self)
Cancel the specified job.
 
get_status(self)
Obtain the current job status.
 
get_progress(self)
Obtain the job progress info.
 
get_ret_code(self)
Obtain the return code from the job object.
 
get_result(self)
Obtain the Result object containing the results returned by the job.
 
get_error(self)
Provide additional job error information.
 
get_op_code(self)
Return the job operation code.
 
is_request_was_sent(self)

Inherited from _Handle: __del__, __init__, add_ref, free, from_string, get_handle_type, get_package_id, get_type, reg_event_handler, unreg_event_handler

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__