celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [celix] rlenferink opened a new issue #98: Refactor event admin
Date Sat, 28 Sep 2019 14:53:29 GMT
rlenferink opened a new issue #98: Refactor event admin
URL: https://github.com/apache/celix/issues/98
 
 
   The event admin currently does not work anymore. Refactor the event admin so that it works
again and that:
   
   - It created and export a event_admin_api interface library target containing the api
   - Update api so that for event admin no event struct is needed -> i.e. signature celix_status_t
(postEvent)(event_admin_t *event_admin, const char *topic, propeties_t *props);
   - event admin api only contains a sendEvent and postEvent method.
   - For sendEvent  and postEvent the caller is responsbile for freeing the properties
   - For postEvent the event admin will create a copy of the properties
   - The eventHandle api contains one method with the signature: celix_status_t (*handleEvent)(void
*handle, const char *topic, const properties_t *props);
   - For event handler the topic and properties arguments are only ensure to be valid during
the executing of the handleEvent method.
   
   ---
   
   Original creation date: 09/Apr/2018
   Reporter: @pnoltes 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message