(self, data)
| 175 | self._statistics.clear() |
| 176 | |
| 177 | def _send_control_data(self, data): |
| 178 | if not self._control_client_addr: |
| 179 | return |
| 180 | |
| 181 | try: |
| 182 | self._control_socket.sendto(data, self._control_client_addr) |
| 183 | except (socket.error, OSError, IOError) as e: |
| 184 | error_no = eventloop.errno_from_exception(e) |
| 185 | if error_no in (errno.EAGAIN, errno.EINPROGRESS, |
| 186 | errno.EWOULDBLOCK): |
| 187 | return |
| 188 | else: |
| 189 | shell.print_exception(e) |
| 190 | if self._config['verbose']: |
| 191 | traceback.print_exc() |
| 192 | |
| 193 | def run(self): |
| 194 | self._loop.run() |
no outgoing calls
no test coverage detected