On Fri, Mar 19, 2010 at 03:38:49PM +, Daniel P. Berrange wrote:
> The current API for domain events has a number of problems
>
> - Only allows for domain lifecycle change events
> - Does not allow the same callback to be registered multiple times
> - Does not allow filtering of events to a
On Fri, Mar 19, 2010 at 11:06:40AM -0600, Eric Blake wrote:
> On 03/19/2010 09:38 AM, Daniel P. Berrange wrote:
> > Since different event types can received different data in the callback,
> > the API is defined with a generic callback. Specific events will each
> > have a custom signature for thei
On 03/19/2010 09:38 AM, Daniel P. Berrange wrote:
> Since different event types can received different data in the callback,
> the API is defined with a generic callback. Specific events will each
> have a custom signature for their callback. Thus when registering an
> event it is neccessary to cas
The current API for domain events has a number of problems
- Only allows for domain lifecycle change events
- Does not allow the same callback to be registered multiple times
- Does not allow filtering of events to a specific domain
This introduces a new more general purpose domain events API