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

Class RunningTask

  object --+        
           |        
 prlsdk.Base --+    
               |    
prlsdk.BaseAsync --+
                   |
                  RunningTask

The RunningTask class is used in recovering from the lost Parallels Service connection and attaching to an existing and running task. The class is a container that contains information about a task that is still running inside the Parallels Service. For the list of tasks supported by this functionality, see consts.RTT_RUNNING_TASK_xxx.

Instance Methods [hide private]

Inherited from prlsdk.BaseAsync: __cmp__, __init__, __new__, __repr__, cancel, wait

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __setattr__, __str__

Class Variables [hide private]
  __prefix__ = 'runningtask'
  __ht__ = 268435500
Properties [hide private]
  uuid
The the task UUID.
  type
The task type.
  parameters
runningtask.get_parameters(RunningTask) -> string

Inherited from prlsdk.BaseAsync: __expected_h_type__, __job__, finished, handle_type

Inherited from prlsdk.Base: __handle__

Inherited from object: __class__

Property Details [hide private]

uuid

The the task UUID.

Get Method:
unreachable.runningtask__get_uuid(runningtask, RunningTask) - Returns task uuid string ( uses to restore session ) Value returns in UTF-8 encoding

type

The task type. See consts.RTT_RUNNING_TASK_xxx.

Get Method:
unreachable.runningtask__get_type(runningtask, RunningTask) - Returns task type, see prlsdk.consts.RTT_xxx

parameters

runningtask.get_parameters(RunningTask) -> string

Returns task parameters as string Value returns in UTF-8 encoding

Get Method:
unreachable.runningtask__get_parameters(runningtask, RunningTask) - Returns task parameters as string Value returns in UTF-8 encoding