Esempio n. 1
0
 def __init__(self, environment, task_pool):
     SimulatedEntity.__init__(self, Symbols.QUEUE, environment)
     ThrottlingPolicyDecorator.__init__(self, task_pool)
Esempio n. 2
0
 def __init__(self, environment):
     SimulatedEntity.__init__(self, Symbols.LOGGER, environment)
     Listener.__init__(self)
     self.listener.register(self)
Esempio n. 3
0
 def __init__(self, environment, delegate):
     SimulatedEntity.__init__(self, Symbols.WORKER_POOL, environment)
     WorkerPoolDecorator.__init__(self, delegate)
Esempio n. 4
0
 def __init__(self, environment, delegate):
     SimulatedEntity.__init__(self, Symbols.QUEUE, environment)
     TaskPoolDecorator.__init__(self, delegate)
Esempio n. 5
0
 def __init__(self, environment, delegate):
     SimulatedEntity.__init__(self, Symbols.WORKER_POOL, environment)
     WorkerPoolDecorator.__init__(self, delegate)
Esempio n. 6
0
 def __init__(self, environment, task_pool):
     SimulatedEntity.__init__(self, Symbols.QUEUE, environment)
     ThrottlingPolicyDecorator.__init__(self, task_pool)
Esempio n. 7
0
 def __init__(self, environment, delegate):
     SimulatedEntity.__init__(self, Symbols.QUEUE, environment)
     TaskPoolDecorator.__init__(self, delegate)
Esempio n. 8
0
 def __init__(self, environment):
     SimulatedEntity.__init__(self, Symbols.LOGGER, environment)
     Listener.__init__(self)
     self.listener.register(self)