Package svs_analysis :: Package workers :: Module worker :: Class GenericWorker
[show private | hide private]
[frames | no frames]

Class GenericWorker

Known Subclasses:
ListConsumer, ListProducer

Method Summary
  __init__(self)
  cmdprivate_start(self, cmd)
Starts worker process.
  cmdprivate_stop(self, cmd)
Stops worker process.
  cmdprivate_update(self, cmd)
Manualy update worker process.
  getData(self)
Returns data handled by worker.
  setClient(self, client)
Sets client for worker.
  setDataSource(self, source)
Sets source from which worker can draw data.
  start(self)
Starts worker process.
  stop(self)
Stops worker process.
  update(self, timestamp)
Updates time-based activity.

Method Details

cmdprivate_start(self, cmd)

Starts worker process.

cmdprivate_stop(self, cmd)

Stops worker process.

cmdprivate_update(self, cmd)

Manualy update worker process.

getData(self)

Returns data handled by worker.

Note: if this is to be transferred over a network, the data must conform to twisted's serialisation formats: http://twistedmatrix.com/documents/current/howto/pb-copyable

setClient(self, client)

Sets client for worker.

setDataSource(self, source)

Sets source from which worker can draw data.

start(self)

Starts worker process.

stop(self)

Stops worker process.

update(self, timestamp)

Updates time-based activity.

Generated by Epydoc 2.1 on Thu Oct 20 15:30:30 2005 http://epydoc.sf.net