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

Method on_transaction_declared

python/examples/server_tx.py:33–36  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

31 self.request_delivery = request_delivery
32
33 def on_transaction_declared(self, event):
34 event.transaction.send(self.sender, self.response)
35 event.transaction.accept(self.request_delivery)
36 event.transaction.commit()
37
38 def on_transaction_committed(self, event):
39 print("Request processed successfully")

Callers

nothing calls this directly

Calls 3

commitMethod · 0.80
sendMethod · 0.45
acceptMethod · 0.45

Tested by

no test coverage detected