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

Method dispatch

python/examples/broker.py:51–57  ·  view source on GitHub ↗
(self, consumer=None)

Source from the content-addressed store, hash-verified

49 self.dispatch()
50
51 def dispatch(self, consumer=None):
52 if consumer:
53 c = [consumer]
54 else:
55 c = self.consumers
56 while self._deliver_to(c):
57 pass
58
59 def _deliver_to(self, consumers):
60 try:

Callers 4

publishMethod · 0.95
on_reactor_initMethod · 0.45
on_sendableMethod · 0.45
on_unhandledMethod · 0.45

Calls 1

_deliver_toMethod · 0.95

Tested by

no test coverage detected