コード例 #1
0
 def __init__(self, spool):
     """prepares necessary files for a task."""
     ActivityProxy.__init__(self)
     self.ctxt = None
     self.stager = None # the current stager
     self.process = None # a currently running subprocess
     self.spool = spool
     
     self.__locationHandler = []
コード例 #2
0
 def __init__(self, task, wait_tuple):
     ActivityProxy.__init__(self)
     self.task = task
     self.wait_tuple = wait_tuple
コード例 #3
0
 def __init__(self, instance):
     ActivityProxy.__init__(self)
     self.instance = instance
コード例 #4
0
 def __init__(self, resource_pool, timeout=1):
     ActivityProxy.__init__(self)
     self.pool = resource_pool
     self.timeout = timeout
     self.resource = None