Am 3. Okt 2004 um 19:55 schrieb Eric M.Williams:
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 implement 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.
I've never heard of somebody basing their programming style on
communism (a command economy). :)
Well, all objects have equal rights! Don't you know the
'Object Rights Act'?
(If this is an obscure reference, read "The Commanding Heights" by
Daniel Yergin and somebody else I don't remember, or enjoy the PBS
series based on the book.)
Make it more specific. I'll like to have a quick look.
_______________________________________________
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>
|