예제 #1
0
파일: server.py 프로젝트: 007/simple-stats
 def stopProtocol(self):
     # clean shutdown has to happen like:
     #  - stop accepting new packets
     #  - stop our loop to dump stats
     #  - manually dump any remaining stats
     log("Stopping stat_server:")
     DatagramProtocol.stopProtocol(self)
     log("\tStopping summary loop")
     self.summarize.stop()
     log("\tDumping accumulated stats")
     self.statHolder.dump()
     log("Stopped stat_server")
예제 #2
0
 def stopProtocol(self):
     DatagramProtocol.stopProtocol(self)
예제 #3
0
 def stopProtocol(self):
     DatagramProtocol.stopProtocol(self)
예제 #4
0
 def stopProtocol(self):
     self.timeout_watchdog.cancel()
     return DatagramProtocol.stopProtocol(self)
예제 #5
0
 def stopProtocol(self):
     self.timeout_watchdog.cancel()
     return DatagramProtocol.stopProtocol(self)
예제 #6
0
파일: socket.py 프로젝트: hiidef/pylogd
 def stopProtocol(self):
     self.task.stopListening()
     DatagramProtocol.stopProtocol(self)