Public Member Functions | Public Attributes | Static Public Attributes
go.Async Class Reference
Inheritance diagram for go.Async:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def __repr__
def checkTimeout
def getReturnVal
def getState
def run
def stop
def wait

Public Attributes

 endTime
 func
 ident
 name
 returnVal
 runLock
 state

Static Public Attributes

dictionary activityTable = {}

Detailed Description

Definition at line 152 of file go.py.


Constructor & Destructor Documentation

def go.Async.__init__ (   self,
  func,
  args,
  timeout = None,
  name = None 
)
func:    function to be executed
args:    tuple of the arguments to be passed to the function
timeout: time, after which the function is automatically stopped
name:    name of the activity (for debug)

Definition at line 156 of file go.py.


Member Function Documentation

def go.Async.__repr__ (   self)

Definition at line 182 of file go.py.

def go.Async.checkTimeout (   self)

Definition at line 233 of file go.py.

def go.Async.getReturnVal (   self)
returns the return value of the function, after this has successfully
ended

Definition at line 209 of file go.py.

def go.Async.getState (   self)

Definition at line 205 of file go.py.

def go.Async.run (   self,
  args 
)

Definition at line 185 of file go.py.

def go.Async.stop (   self)

Reimplemented in go.AsyncProc.

Definition at line 215 of file go.py.

def go.Async.wait (   self)
wait, until the activity has ended
returns the returnvalue of the executed function

Definition at line 221 of file go.py.


Member Data Documentation

dictionary go.Async::activityTable = {} [static]

Definition at line 154 of file go.py.

Definition at line 160 of file go.py.

Definition at line 160 of file go.py.

Definition at line 160 of file go.py.

Definition at line 160 of file go.py.

Definition at line 160 of file go.py.

Definition at line 160 of file go.py.

Reimplemented in go.AsyncProc.

Definition at line 160 of file go.py.


The documentation for this class was generated from the following file:


cob_goco
Author(s): Winfried Baum
autogenerated on Sat Mar 15 2014 10:25:51