def __init__(self, environment, task_pool): SimulatedEntity.__init__(self, Symbols.QUEUE, environment) ThrottlingPolicyDecorator.__init__(self, task_pool)
def __init__(self, environment): SimulatedEntity.__init__(self, Symbols.LOGGER, environment) Listener.__init__(self) self.listener.register(self)
def __init__(self, environment, delegate): SimulatedEntity.__init__(self, Symbols.WORKER_POOL, environment) WorkerPoolDecorator.__init__(self, delegate)
def __init__(self, environment, delegate): SimulatedEntity.__init__(self, Symbols.QUEUE, environment) TaskPoolDecorator.__init__(self, delegate)