MCPcopy Create free account
hub / github.com/apache/qpid-proton / on_connection_close

Method on_connection_close

python/examples/proton_server.py:36–39  ·  view source on GitHub ↗
(self, endpoint, error)

Source from the content-addressed store, hash-verified

34 self.on_request(event.message.body, event.message.reply_to)
35
36 def on_connection_close(self, endpoint, error):
37 if error:
38 print("Closed due to %s" % error)
39 self.conn.close()
40
41 def run(self):
42 self.container.run()

Callers

nothing calls this directly

Calls 2

printFunction · 0.85
closeMethod · 0.45

Tested by

no test coverage detected