コード例 #1
0
ファイル: monitor_agent.py プロジェクト: kowalski/feat
 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
ファイル: connection_agent.py プロジェクト: kowalski/feat
 def on_goodbye(self, agent):
     agent.call_next(agent.terminate)
コード例 #4
0
ファイル: host_agent.py プロジェクト: pepribas/F3AT
 def on_restarted(self, agent):
     agent.call_next(agent.check_if_agency_hosts, self.recipient)