예제 #1
0
파일: throttling.py 프로젝트: fchauvel/MAD
 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
파일: monitoring.py 프로젝트: fchauvel/MAD
 def __init__(self, environment):
     SimulatedEntity.__init__(self, Symbols.LOGGER, environment)
     Listener.__init__(self)
     self.listener.register(self)