Re: [proton]: proposed change from on_credit to on_sendable

2015-01-28 Thread Alan Conway
On Tue, 2015-01-27 at 10:33 -0500, Ted Ross wrote: > +1. I like this change. > > -Ted > > On 01/27/2015 09:53 AM, Gordon Sim wrote: > > The current engine examples in python make use of an > > OutgoingMessageHandler, that arranges for a callback to be made when the > > sender has credit. At pres

Re: [proton]: proposed change from on_credit to on_sendable

2015-01-27 Thread Ted Ross
+1. I like this change. -Ted On 01/27/2015 09:53 AM, Gordon Sim wrote: The current engine examples in python make use of an OutgoingMessageHandler, that arranges for a callback to be made when the sender has credit. At present that callback is called on_credit. However I would like to change t

[proton]: proposed change from on_credit to on_sendable

2015-01-27 Thread Gordon Sim
The current engine examples in python make use of an OutgoingMessageHandler, that arranges for a callback to be made when the sender has credit. At present that callback is called on_credit. However I would like to change this to the slightly more general on_sendable. By being more generally a