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

Function _dispatch

python/proton/_events.py:124–129  ·  view source on GitHub ↗
(handler: Any, method: str, *args)

Source from the content-addressed store, hash-verified

122
123
124def _dispatch(handler: Any, method: str, *args) -> None:
125 m = getattr(handler, method, None)
126 if m:
127 m(*args)
128 elif hasattr(handler, "on_unhandled"):
129 handler.on_unhandled(method, *args)
130
131
132class EventBase(object):

Callers 15

on_sendableMethod · 0.85
on_acceptedMethod · 0.85
on_rejectedMethod · 0.85
on_releasedMethod · 0.85
on_settledMethod · 0.85
on_messageMethod · 0.85
on_settledMethod · 0.85
on_abortedMethod · 0.85
on_connection_openedMethod · 0.85
on_session_openedMethod · 0.85
on_link_openedMethod · 0.85
on_connection_openingMethod · 0.85

Calls 1

on_unhandledMethod · 0.45

Tested by

no test coverage detected