Carsten Ziegeler wrote:
> Karl Pauls wrote:
>> Right, that would be one possibility. As Marcel points out, the
>> general idea is that you can just bridge events if you need to. I
>> created several bridge bundles (e.g., for upnp events).
>>
>> Is there a specific reason why a bridge bundle wouldn't work for you?
>>
> There was some reason..but I can't remember right now. My first idea was
> to use just an event listener which broadcasts the events to other nodes
> and make the whole thing transparent. But for some reason (I think it
> was elegance of implementation....) this didn't work quiet out. I'll
> recheck.
> 
Ok, the main problem is that the event should contain some information
about the node on which it was raised. The basic idea is that some code
sends an event to the event admin, before further distribution the event
admin sets a flag for this event which marks this event as been raised
on this node.
All local receivers will get this marked event. When the event is
replicated to the other nodes, the event won't be marked in this way.
This allows an event listener to tell if the event has been raised on
the current node or a different one.

Carsten

-- 
Carsten Ziegeler
[EMAIL PROTECTED]

Reply via email to