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