示例#1
0
 def __init__(self, environment, task_pool):
     SimulatedEntity.__init__(self, Symbols.QUEUE, environment)
     ThrottlingPolicyDecorator.__init__(self, task_pool)
示例#2
0
 def __init__(self, environment):
     SimulatedEntity.__init__(self, Symbols.LOGGER, environment)
     Listener.__init__(self)
     self.listener.register(self)
示例#3
0
文件: workers.py 项目: fchauvel/MAD
 def __init__(self, environment, delegate):
     SimulatedEntity.__init__(self, Symbols.WORKER_POOL, environment)
     WorkerPoolDecorator.__init__(self, delegate)
示例#4
0
 def __init__(self, environment, delegate):
     SimulatedEntity.__init__(self, Symbols.QUEUE, environment)
     TaskPoolDecorator.__init__(self, delegate)
示例#5
0
 def __init__(self, environment, delegate):
     SimulatedEntity.__init__(self, Symbols.WORKER_POOL, environment)
     WorkerPoolDecorator.__init__(self, delegate)
示例#6
0
 def __init__(self, environment, task_pool):
     SimulatedEntity.__init__(self, Symbols.QUEUE, environment)
     ThrottlingPolicyDecorator.__init__(self, task_pool)
示例#7
0
文件: tasks.py 项目: fchauvel/MAD
 def __init__(self, environment, delegate):
     SimulatedEntity.__init__(self, Symbols.QUEUE, environment)
     TaskPoolDecorator.__init__(self, delegate)
示例#8
0
 def __init__(self, environment):
     SimulatedEntity.__init__(self, Symbols.LOGGER, environment)
     Listener.__init__(self)
     self.listener.register(self)