示例#1
0
 def initiate(self, agent):
     agent.call_next(agent.update_neighbour_monitors,
                     shard_recip=self.recipient)
示例#2
0
文件: host_agent.py 项目: f3at/feat
 def on_restarted(self, agent):
     agent.call_next(agent.check_if_agency_hosts, self.recipient)
     if self.static_name:
         agent.resolve_alert(self.static_name, "ok")
示例#3
0
 def on_goodbye(self, agent):
     agent.call_next(agent.terminate)
示例#4
0
 def on_restarted(self, agent):
     agent.call_next(agent.check_if_agency_hosts, self.recipient)