realbasic-nug
[Top] [All Lists]

Re: Can a thread "raise" an event?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Can a thread "raise" an event?
From: Stefan Pantke <seaside dot ki at mac dot com>
Date: Sun, 3 Oct 2004 20:50:59 +0200
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <89B39709-1564-11D9-B86A-000A9585ABA2 at mac dot com> <CC5C1A3F-1565-11D9-8DE7-000A95A9544A at shaw dot ca>

Am 3. Okt 2004 um 19:58 schrieb Norman Palardy:


On Oct 3, 2004, at 11:49 AM, Stefan Pantke wrote:

I've implemented a small producer / consumer pattern.

Objects can register as consumers for special events.
They then get notfied, when such an event occurs. To
be a consumer, the class has to implemente the consumer
interface.

Other objects can forward notifications to the
producer/consumer manager. The manager decides, who
has to receive a message.

The pattern allows to have anonymous producer / consumer
connections, since events are forwarded based on
subscribed event patterns.

Sounds roughly like what I have ... except I did it using a network so producers and consumers can be on different machine and architectures as well

Great extension! Your implementation allows to send notifications from
one machine to another machine? That's interesting, not too far away
from Cocoa way to send methods to remote machines ;-)

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>