Home
last modified time | relevance | path

Searched refs:connection_lost (Results 1 – 17 of 17) sorted by relevance

/external/python/cpython3/Lib/test/test_asyncio/
Dtest_proactor_events.py195 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)
Dtest_unix_events.py432 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 …]
Dtest_sslproto.py94 ssl_proto.connection_lost(ConnectionAbortedError)
Dtest_selector_events.py733 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)
Dtest_events.py114 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))
Dtest_subprocess.py62 self.assertTrue(protocol.connection_lost.called)
63 self.assertEqual(protocol.connection_lost.call_args[0], (None,))
Dtest_base_events.py949 def connection_lost(self, exc): member in MyProto
977 def connection_lost(self, exc): member in MyDatagramProto
Dtest_streams.py102 writer._protocol.connection_lost(ZeroDivisionError())
/external/python/cpython3/Doc/library/
Dasyncio-protocol.rst44 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/
Dprotocols.py25 def connection_lost(self, exc): member in BaseProtocol
Dstreams.py185 def connection_lost(self, exc): member in FlowControlMixin
242 def connection_lost(self, exc): member in StreamReaderProtocol
248 super().connection_lost(exc)
Dbase_subprocess.py255 self._protocol.connection_lost(exc)
277 def connection_lost(self, exc): member in WriteSubprocessPipeProto
Dsslproto.py471 def connection_lost(self, exc): member in SSLProtocol
480 self._loop.call_soon(self._app_protocol.connection_lost, exc)
Dsubprocess.py79 self.connection_lost(exc)
Dunix_events.py447 self._protocol.connection_lost(exc)
654 self._protocol.connection_lost(exc)
Dproactor_events.py129 self._protocol.connection_lost(exc)
Dselector_events.py663 self._protocol.connection_lost(exc)