You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@celix.apache.org by "PengZheng (via GitHub)" <gi...@apache.org> on 2023/04/11 06:30:38 UTC

[GitHub] [celix] PengZheng commented on issue #515: EventAdmin

PengZheng commented on issue #515:
URL: https://github.com/apache/celix/issues/515#issuecomment-1502754145

   > How about define a event object like :
   
   I agree with @pnoltes that function pointers are not needed unless polymorphism is involved.
   
   Even if it's absolutely necessary, please note that any object passing through a dynamic interface (like Celix service) must be managed some way by the interface provider so that when the interface goes away, the object is not available to the outsider any more.
   
   Of course, the above consideration does not apply if event is used only within EventAdmin.


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@celix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org