/external/python/cpython3/Lib/asyncio/ |
protocols.py | 24 When the connection is closed, connection_lost() is called. 27 def connection_lost(self, exc): member in class:BaseProtocol 77 transport; finally, connection_lost() will be called exactly once 87 * CL: connection_lost() 130 * CL: connection_lost()
|
streams.py | 151 resume_writing() and connection_lost(). If the subclass overrides 184 def connection_lost(self, exc): member in class:FlowControlMixin 241 def connection_lost(self, exc): member in class:StreamReaderProtocol 252 super().connection_lost(exc) 341 # Yield to the event loop so connection_lost() may be 345 # in a loop would never call connection_lost(), so it
|
base_subprocess.py | 247 self._protocol.connection_lost(exc) 268 def connection_lost(self, exc): member in class:WriteSubprocessPipeProto
|
sslproto.py | 313 protocol's connection_lost() method will (eventually) called 398 The protocol's connection_lost() method will (eventually) be 484 def connection_lost(self, exc): member in class:SSLProtocol 493 self._loop.call_soon(self._app_protocol.connection_lost, exc)
|
subprocess.py | 78 self.connection_lost(exc)
|
unix_events.py | 540 self._protocol.connection_lost(exc) 742 self._protocol.connection_lost(exc) [all...] |
base_events.py | 206 def connection_lost(self, exc): member in class:_SendfileFallbackProtocol 215 self._proto.connection_lost(exc) [all...] |
proactor_events.py | 134 self._protocol.connection_lost(exc) 522 # We want connection_lost() to be called when other end closes
|
selector_events.py | 595 self._conn_lost = 0 # Set when call to connection_lost scheduled. 687 self._protocol.connection_lost(exc) [all...] |
/external/python/cpython3/Lib/test/test_asyncio/ |
test_buffered_proto.py | 19 def connection_lost(self, exc): member in class:ReceiveStuffProto
|
test_proactor_events.py | 199 self.protocol.connection_lost.assert_called_with(None) 211 self.protocol.connection_lost.assert_called_with(None) 215 self.protocol.connection_lost.reset_mock() 218 self.assertFalse(self.protocol.connection_lost.called) 225 self.assertFalse(self.protocol.connection_lost.called) 232 self.assertFalse(self.protocol.connection_lost.called) 252 self.protocol.connection_lost.assert_called_with(None) 274 self.assertFalse(self.protocol.connection_lost.called) 282 self.protocol.connection_lost.assert_called_with(None) 288 self.assertTrue(self.protocol.connection_lost.called 885 def connection_lost(self, exc): member in class:ProactorEventLoopUnixSockSendfileTests.MyProto [all...] |
test_unix_events.py | 446 def connection_lost(self, exc): member in class:SelectorEventLoopUnixSockSendfileTests.MyProto 685 self.protocol.connection_lost.assert_called_with(None) 751 self.protocol.connection_lost.assert_called_with(err) 760 self.protocol.connection_lost.assert_called_with(err) 773 self.protocol.connection_lost.assert_called_with(err) [all...] |
test_subprocess.py | 61 self.assertTrue(protocol.connection_lost.called) 62 self.assertEqual(protocol.connection_lost.call_args[0], (None,))
|
test_sslproto.py | 99 ssl_proto.connection_lost(ConnectionAbortedError) 122 ssl_proto.connection_lost(None) 466 def connection_lost(self, exc): member in class:BaseStartTLS.test_start_tls_server_1.ServerProto
|
test_events.py | 101 def connection_lost(self, exc): member in class:MyBaseProto 135 def connection_lost(self, exc): member in class:MyDatagramProto 165 def connection_lost(self, exc): member in class:MyReadPipeProto 188 def connection_lost(self, exc): member in class:MyWritePipeProto 214 def connection_lost(self, exc): member in class:MySubprocessProtocol 789 def connection_lost(self, exc): member in class:EventLoopTestsMixin.test_connect_accepted_socket.MyProto 790 super().connection_lost(exc) 2163 def connection_lost(self, exc): member in class:SockSendfileMixin.MyProto [all...] |
test_selector_events.py | 813 self.protocol.connection_lost(None) 827 self.assertFalse(self.protocol.connection_lost.called) 867 self.protocol.connection_lost.assert_called_with(exc) [all...] |
test_streams.py | 104 writer._protocol.connection_lost(ZeroDivisionError()) [all...] |
test_base_events.py | 1002 def connection_lost(self, exc): member in class:MyProto 1030 def connection_lost(self, exc): member in class:MyDatagramProto 1899 def connection_lost(self, exc): member in class:BaseLoopSockSendfileTests.MyProto [all...] |