Ejemplo n.º 1
0
 def getStatus(self):
     resp = Thespian_SystemStatus(self.myAddress,
                                  capabilities=self.capabilities,
                                  inShutdown=self.isShuttingDown())
     resp.setDeadLetterHandler(self._deadLetterHandler)
     self._updateStatusResponse(resp)
     resp.setLoadedSources(self._sources)
     resp.sourceAuthority = self._sourceAuthority
     return resp
Ejemplo n.º 2
0
 def h_Thespian_StatusReq(self, envelope):
     self._sCBStats.inc('Admin Message Received.Type.StatusReq')
     resp = Thespian_SystemStatus(self.myAddress,
                                  capabilities=self.capabilities,
                                  inShutdown=self.isShuttingDown())
     resp.setDeadLetterHandler(self._deadLetterHandler)
     self._updateStatusResponse(resp)
     resp.setLoadedSources(list(self._sources.keys()))
     resp.sourceAuthority = self._sourceAuthority
     self._send_intent(TransmitIntent(envelope.sender, resp))
     return True
Ejemplo n.º 3
0
 def getStatus(self):
     resp = Thespian_SystemStatus(self.myAddress,
                                  capabilities = self.capabilities,
                                  inShutdown = self.isShuttingDown())
     resp.setDeadLetterHandler(self._deadLetterHandler)
     self._updateStatusResponse(resp)
     resp.setLoadedSources(list(self._sources.keys()))
     resp.sourceAuthority = self._sourceAuthority
     return resp
Ejemplo n.º 4
0
 def h_Thespian_StatusReq(self, envelope):
     self._sCBStats.inc("Admin Message Received.Type.StatusReq")
     resp = Thespian_SystemStatus(self.myAddress, capabilities=self.capabilities, inShutdown=self.isShuttingDown())
     resp.setDeadLetterHandler(self._deadLetterHandler)
     self._updateStatusResponse(resp)
     resp.setLoadedSources(list(self._sources.keys()))
     resp.sourceAuthority = self._sourceAuthority
     self._send_intent(TransmitIntent(envelope.sender, resp))
     return True