05.08.2013 Views

[PDF] Parallels Python API Reference

[PDF] Parallels Python API Reference

[PDF] Parallels Python API Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Module prlsdkapi.prlsdk Class Job<br />

cancel(Job)<br />

Start canceling this job, this method is asynchone so it return another job.<br />

Return Value<br />

Result<br />

get held object(Job, name)<br />

Returns held onject by name, None if not held.<br />

Return Value<br />

object<br />

hold object(Job, name, obj)<br />

Add object to holding list.<br />

Return Value<br />

self<br />

wait(Job, msec=DefaultJobWait)<br />

Waits for job finished for passed milliseconds If timeout ->return False. If job<br />

finished with error <strong>Parallels</strong>Error will be raised.<br />

Return Value<br />

bool<br />

Inherited from prlsdkapi.prlsdk.Base(Section 2.4)<br />

cmp (), repr ()<br />

Inherited from object<br />

delattr (), getattribute (), hash (), reduce (), reduce ex (), setattr (),<br />

str ()<br />

2.9.2 Properties<br />

Name Description<br />

description<br />

ret code<br />

error params Return error params as Event object.<br />

finished Showes job status<br />

op code Return job operation code, see<br />

prlsdk.consts.PJOC xxx.<br />

Inherited from prlsdkapi.prlsdk.Base (Section 2.4)<br />

handle , handle type<br />

115<br />

continued on next page

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!