Пример #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
 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
 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)