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

Method __init__

python/proton/_utils.py:157–161  ·  view source on GitHub ↗
(self, connection: 'Connection', prefetch: int)

Source from the content-addressed store, hash-verified

155 """
156
157 def __init__(self, connection: 'Connection', prefetch: int):
158 super(Fetcher, self).__init__(prefetch=prefetch, auto_accept=False)
159 self.connection = connection
160 self.incoming = collections.deque([])
161 self.unsettled = collections.deque([])
162
163 def on_message(self, event: 'Event') -> None:
164 self.incoming.append((event.message, event.delivery))

Callers 5

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected