05.08.2013 Views

[PDF] Parallels Python API Reference

[PDF] Parallels Python API Reference

[PDF] Parallels Python API Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Module prlsdkapi.prlsdk<br />

2 Module prlsdkapi.prlsdk<br />

2.1 Modules<br />

• consts (Section 3, p. 121)<br />

• errors (Section 4, p. 135)<br />

2.2 Functions<br />

CheckServerAlive(hostname, timeout=DefaultTimeout)<br />

Lets to determine whether <strong>Parallels</strong> server on specified host alive If alive -<br />

ServerInfo will be returned else None.<br />

Return Value<br />

ServerInfo<br />

DefaultJobTimeout(...)<br />

DefaultKeyActWait(...)<br />

DefaultTimeout(...)<br />

DeinitializeSDK()<br />

Method force SDK deinitialization.<br />

GetSDKLibraryPath()<br />

Return path from witch library will be loaded.<br />

Return Value<br />

string<br />

GetServerList(msec)<br />

Lookups <strong>Parallels</strong> servers at the LAN during specified timeout.<br />

Return Value<br />

list of ServerInfo objects<br />

InitializeSDK(PRL APPLICATION MODE)<br />

Method initialize SDK. Return False if it was already initialized, else True.<br />

Return Value<br />

bool<br />

105

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

Saved successfully!

Ooh no, something went wrong!