(self)
| 74 | self.run = True |
| 75 | |
| 76 | def get_request(self): |
| 77 | while self.run: |
| 78 | try: |
| 79 | sock, addr = self.socket.accept() |
| 80 | sock.settimeout(None) |
| 81 | return sock, addr |
| 82 | except socket.timeout: |
| 83 | pyfalog.warning("Server timed out waiting for connection") |
| 84 | pass |
| 85 | |
| 86 | def stop(self): |
| 87 | pyfalog.warning("Setting pyfa server to stop.") |
nothing calls this directly
no outgoing calls
no test coverage detected