Esempio n. 1
0
    def stop(self):
        for CSA in self.connectedSockets:
            self.handleClosedCSA(shutdownCSA(self, CSA))

        self.send(serverShutdown(), "_serversignal")
        super(ServerCore, self).stop()
Esempio n. 2
0
    def stop(self):
        for CSA in self.connectedSockets:
            self.handleClosedCSA(shutdownCSA(self, CSA))

        self.send(serverShutdown(), "_serversignal")
        super(SimpleServer, self).stop()
Esempio n. 3
0
 def passOnShutdown(self):
     self.send(socketShutdown(self, [self.socket, self.howDied]),
               "CreatorFeedback")
     self.send(shutdownCSA(self, (self, self.socket)), "signal")
 def passOnShutdown(self):
      self.send(socketShutdown(self,[self.socket,self.howDied]), "CreatorFeedback")
      self.send(shutdownCSA(self, (self,self.socket)), "signal")