Package omero :: Module callbacks :: Class ProcessCallbackI
[hide private]
[frames] | no frames]

Class ProcessCallbackI

source code


Simple callback which registers itself with the given process.

Instance Methods [hide private]
 
__init__(self, adapter_or_client, process, poll=True) source code
 
block(self, ms)
Should only be used if the default logic of the process methods is kept in place.
source code
 
processCancelled(self, success, current=None) source code
 
processFinished(self, returncode, current=None) source code
 
processKilled(self, success, current=None) source code
 
close(self) source code
Class Variables [hide private]
  FINISHED = "FINISHED"
  CANCELLED = "CANCELLED"
  KILLED = "KILLED"
Method Details [hide private]

block(self, ms)

source code 

Should only be used if the default logic of the process methods is kept in place. If "event.set" does not get called, this method will always block for the given milliseconds.