Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/test_asyncio/
Dtest_proactor_events.py199 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)
[all …]
Dtest_unix_events.py446 def connection_lost(self, exc): member in 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)
908 self.protocol.connection_lost.assert_called_with(None)
971 self.protocol.connection_lost.assert_called_with(err)
984 self.protocol.connection_lost.assert_called_with(None)
1000 self.protocol.connection_lost.assert_called_with(None)
1009 self.protocol.connection_lost.assert_called_with(err)
[all …]
Dtest_buffered_proto.py19 def connection_lost(self, exc): member in ReceiveStuffProto
Dtest_sslproto.py99 ssl_proto.connection_lost(ConnectionAbortedError)
122 ssl_proto.connection_lost(None)
466 def connection_lost(self, exc): member in BaseStartTLS.test_start_tls_server_1.ServerProto
Dtest_subprocess.py61 self.assertTrue(protocol.connection_lost.called)
62 self.assertEqual(protocol.connection_lost.call_args[0], (None,))
Dtest_events.py101 def connection_lost(self, exc): member in MyBaseProto
135 def connection_lost(self, exc): member in MyDatagramProto
165 def connection_lost(self, exc): member in MyReadPipeProto
188 def connection_lost(self, exc): member in MyWritePipeProto
214 def connection_lost(self, exc): member in MySubprocessProtocol
789 def connection_lost(self, exc): member in EventLoopTestsMixin.test_connect_accepted_socket.MyProto
790 super().connection_lost(exc)
2163 def connection_lost(self, exc): member in SockSendfileMixin.MyProto
3072 self.assertIsNone(p.connection_lost(f))
3078 self.assertIsNone(dp.connection_lost(f))
[all …]
Dtest_selector_events.py813 self.protocol.connection_lost(None)
827 self.assertFalse(self.protocol.connection_lost.called)
867 self.protocol.connection_lost.assert_called_with(exc)
1192 self.protocol.connection_lost.assert_called_with(None)
1681 self.protocol.connection_lost.assert_called_with(None)
Dtest_base_events.py1002 def connection_lost(self, exc): member in MyProto
1030 def connection_lost(self, exc): member in MyDatagramProto
1899 def connection_lost(self, exc): member in BaseLoopSockSendfileTests.MyProto
Dtest_streams.py104 writer._protocol.connection_lost(ZeroDivisionError())
/external/python/cpython3/Doc/library/
Dasyncio-protocol.rst153 protocol's :meth:`protocol.connection_lost()
154 <BaseProtocol.connection_lost>` method will be called with
270 The protocol's :meth:`protocol.connection_lost()
271 <BaseProtocol.connection_lost>` method will eventually be
365 :meth:`protocol.connection_lost() <BaseProtocol.connection_lost>`
490 .. method:: BaseProtocol.connection_lost(exc)
576 -> connection_lost -> end
639 -> connection_lost -> end
782 def connection_lost(self, exc):
892 def connection_lost(self, exc):
[all …]
Dasyncio-llapi-index.rst418 * - ``callback`` :meth:`connection_lost() <BaseProtocol.connection_lost>`
/external/python/cpython3/Lib/asyncio/
Dprotocols.py27 def connection_lost(self, exc): member in BaseProtocol
Dstreams.py184 def connection_lost(self, exc): member in FlowControlMixin
241 def connection_lost(self, exc): member in StreamReaderProtocol
252 super().connection_lost(exc)
Dbase_subprocess.py247 self._protocol.connection_lost(exc)
268 def connection_lost(self, exc): member in WriteSubprocessPipeProto
Dsslproto.py484 def connection_lost(self, exc): member in SSLProtocol
493 self._loop.call_soon(self._app_protocol.connection_lost, exc)
Dsubprocess.py78 self.connection_lost(exc)
Dunix_events.py540 self._protocol.connection_lost(exc)
742 self._protocol.connection_lost(exc)
Dbase_events.py206 def connection_lost(self, exc): member in _SendfileFallbackProtocol
215 self._proto.connection_lost(exc)
Dproactor_events.py134 self._protocol.connection_lost(exc)
Dselector_events.py687 self._protocol.connection_lost(exc)