(self)
| 1521 | self.initialize_network(s) |
| 1522 | |
| 1523 | def create_wait_for_connection_thread(self): |
| 1524 | if self._waiting_for_connection_thread is not None: |
| 1525 | raise AssertionError("There is already another thread waiting for a connection.") |
| 1526 | |
| 1527 | self._server_socket_ready_event.clear() |
| 1528 | self._waiting_for_connection_thread = self._WaitForConnectionThread(self) |
| 1529 | self._waiting_for_connection_thread.start() |
| 1530 | |
| 1531 | def set_server_socket_ready(self): |
| 1532 | self._server_socket_ready_event.set() |
no test coverage detected