agent.py
481 Bytes
from common.agent import Agent
class MonitoringAgent(Agent):
def __init__(self):
Agent.__init__(self, Agent.ENV_MONITORING)
def work(self):
'''
Overriding Agent's method
Start routine of the new thread.
Called once before starting the communications
'''
# vu que le monitoring risque de ne rien écouter, il faudra peut-être override run()
pass