/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_proactor_events.py | 195 self.protocol.connection_lost.assert_called_with(None) 207 self.protocol.connection_lost.assert_called_with(None) 211 self.protocol.connection_lost.reset_mock() 214 self.assertFalse(self.protocol.connection_lost.called) 221 self.assertFalse(self.protocol.connection_lost.called) 228 self.assertFalse(self.protocol.connection_lost.called) 248 self.protocol.connection_lost.assert_called_with(None) 257 self.assertFalse(self.protocol.connection_lost.called) 265 self.protocol.connection_lost.assert_called_with(None) 271 self.assertTrue(self.protocol.connection_lost.called)
|
D | test_unix_events.py | 432 self.protocol.connection_lost.assert_called_with(None) 498 self.protocol.connection_lost.assert_called_with(err) 507 self.protocol.connection_lost.assert_called_with(err) 520 self.protocol.connection_lost.assert_called_with(err) 655 self.protocol.connection_lost.assert_called_with(None) 718 self.protocol.connection_lost.assert_called_with(err) 731 self.protocol.connection_lost.assert_called_with(None) 747 self.protocol.connection_lost.assert_called_with(None) 756 self.protocol.connection_lost.assert_called_with(err) 769 self.protocol.connection_lost.assert_called_with(err) [all …]
|
D | test_sslproto.py | 94 ssl_proto.connection_lost(ConnectionAbortedError)
|
D | test_selector_events.py | 733 self.protocol.connection_lost(None) 747 self.assertFalse(self.protocol.connection_lost.called) 787 self.protocol.connection_lost.assert_called_with(exc) 1060 self.protocol.connection_lost.assert_called_with(None) 1399 self.protocol.connection_lost.assert_called_with(None) 1480 self.assertTrue(self.protocol.connection_lost.called) 1486 self.assertFalse(self.protocol.connection_lost.called) 1726 self.protocol.connection_lost.assert_called_with(None)
|
D | test_events.py | 114 def connection_lost(self, exc): member in MyBaseProto 148 def connection_lost(self, exc): member in MyDatagramProto 178 def connection_lost(self, exc): member in MyReadPipeProto 201 def connection_lost(self, exc): member in MyWritePipeProto 227 def connection_lost(self, exc): member in MySubprocessProtocol 766 def connection_lost(self, exc): member in EventLoopTestsMixin.test_connect_accepted_socket.MyProto 767 super().connection_lost(exc) 2647 self.assertIsNone(p.connection_lost(f)) 2653 self.assertIsNone(dp.connection_lost(f)) 2659 self.assertIsNone(sp.connection_lost(f))
|
D | test_subprocess.py | 62 self.assertTrue(protocol.connection_lost.called) 63 self.assertEqual(protocol.connection_lost.call_args[0], (None,))
|
D | test_base_events.py | 949 def connection_lost(self, exc): member in MyProto 977 def connection_lost(self, exc): member in MyDatagramProto
|
D | test_streams.py | 102 writer._protocol.connection_lost(ZeroDivisionError())
|
/external/python/cpython3/Doc/library/ |
D | asyncio-protocol.rst | 44 protocol's :meth:`connection_lost` method will be called with 140 The protocol's :meth:`connection_lost` method will eventually be 222 The protocol's :meth:`connection_lost` method will eventually be 337 .. method:: BaseProtocol.connection_lost(exc) 345 :meth:`~BaseProtocol.connection_made` and :meth:`~BaseProtocol.connection_lost` 410 -> :meth:`~BaseProtocol.connection_lost` -> end 511 def connection_lost(self, exc): 621 def connection_lost(self, exc): 701 # We are done: close the transport (it will call connection_lost()) 704 def connection_lost(self, exc):
|
/external/python/cpython3/Lib/asyncio/ |
D | protocols.py | 25 def connection_lost(self, exc): member in BaseProtocol
|
D | streams.py | 185 def connection_lost(self, exc): member in FlowControlMixin 242 def connection_lost(self, exc): member in StreamReaderProtocol 248 super().connection_lost(exc)
|
D | base_subprocess.py | 255 self._protocol.connection_lost(exc) 277 def connection_lost(self, exc): member in WriteSubprocessPipeProto
|
D | sslproto.py | 471 def connection_lost(self, exc): member in SSLProtocol 480 self._loop.call_soon(self._app_protocol.connection_lost, exc)
|
D | subprocess.py | 79 self.connection_lost(exc)
|
D | unix_events.py | 447 self._protocol.connection_lost(exc) 654 self._protocol.connection_lost(exc)
|
D | proactor_events.py | 129 self._protocol.connection_lost(exc)
|
D | selector_events.py | 663 self._protocol.connection_lost(exc)
|