Called when the sender link has credit and messages can therefore be transferred. :param event: The underlying event object. Use this to obtain further information on the event.
(self, event: Event)
| 81 | dlv.settle() |
| 82 | |
| 83 | def on_sendable(self, event: Event): |
| 84 | """ |
| 85 | Called when the sender link has credit and messages can |
| 86 | therefore be transferred. |
| 87 | |
| 88 | :param event: The underlying event object. Use this to obtain further |
| 89 | information on the event. |
| 90 | """ |
| 91 | if self.delegate is not None: |
| 92 | _dispatch(self.delegate, 'on_sendable', event) |
| 93 | |
| 94 | def on_accepted(self, event: Event): |
| 95 | """ |
no test coverage detected