[deepamehta-devel] suscribe only to events to specific items (topic/assoc)

Jörg Richter jri at deepamehta.de
Mi Jan 22 17:02:39 CET 2014


On Jan 21, 2014, at 22:45, Jörn Weißenborn wrote:

> I have a question about Plugin Development. What I want is, that my plugin can register on updates on a specific topic/association(-type) on runtime. 
> 
> How should I approach this? Do I need to filter the events in my plugins or is there something in the core which can be be told the id of my object and then tells me when something happens?

For the moment the update listeners are called for ALL topics/associations. Filtering has to be done by your plugin.

A possible Core enhancement for topic type based event filtering is described in https://trac.deepamehta.de/ticket/279

Cheers,
Jörg




Mehr Informationen über die Mailingliste devel