Exemplo n.º 1
0
 def __init__(self, name, path):
     AgentThreadedBase.__init__(self)
     self.name=name
     self.path=path
     self.map={}
     self.stats={}
     self._logger=None
     self._shutdown=False
     self.fhdlr=None
Exemplo n.º 2
0
 def __init__(self, agents):
     """
     @param agents: list of agents to monitor
     """
     AgentThreadedBase.__init__(self)
     self.targets=agents
     self.agent_count=len(agents)
     self.agents=[]
     self.count=0
Exemplo n.º 3
0
    def __init__(self):
        AgentThreadedBase.__init__(self)

        self.retry_count=0
        self.smap={}
        self.last_retry_count=1
        self.retry_count=0
        self.db_ok=None
        self.todo=BoundedList(self.MAX_BACKLOG)
Exemplo n.º 4
0
    def __init__(self, freq):
        AgentThreadedBase.__init__(self)

        self.freq=freq
        
        self.tcount=0
        self.scount=0
        self.mcount=0
        self.hcount=0
        self.dcount=0