MCPcopy Create free account
hub / github.com/EasyIME/PIME / accept

Method accept

python/python3/tornado/test/iostream_test.py:977–981  ·  view source on GitHub ↗
(self, connection, address)

Source from the content-addressed store, hash-verified

975 super().tearDown()
976
977 def accept(self, connection, address):
978 if self.server_stream is not None:
979 self.fail("should only get one connection")
980 self.server_stream = IOStream(connection)
981 self.server_accepted.set_result(None)
982
983 @gen.coroutine
984 def client_send_line(self, line):

Callers 3

accept_handlerFunction · 0.80
refusing_portFunction · 0.80
handle_connectionMethod · 0.80

Calls 1

IOStreamClass · 0.90

Tested by

no test coverage detected