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

Method receiver

python/proton/_events.py:581–591  ·  view source on GitHub ↗

The receiver link associated with the event, or ``None`` if none is associated with it. This is essentially an alias for ``link`` property, that does an additional check on the type of the link.

(self)

Source from the content-addressed store, hash-verified

579
580 @property
581 def receiver(self) -> Optional['Receiver']:
582 """
583 The receiver link associated with the event, or ``None`` if
584 none is associated with it. This is essentially an alias for
585 ``link`` property, that does an additional check on the type of the link.
586 """
587 link = self.link
588 if link and link.is_receiver:
589 return link
590 else:
591 return None
592
593 @property
594 def delivery(self) -> Optional[Delivery]:

Callers 7

create_receiverMethod · 0.45
linkMethod · 0.45
test_multipleMethod · 0.45
testEndpointEventsMethod · 0.45
testLinkINIT_FINALMethod · 0.45

Calls

no outgoing calls

Tested by 2

test_multipleMethod · 0.36