Hi,
I have a publisher thread and a few subscriber threads.
The number of subscribers changes at runtime.
In my current implemenation the publisher creates the subscriber threads...this is maybe not the best way...
I need a example how to implement this pattern with Qt.
Hope you can help me..
Edit:
The informtion which needs to be delivered is most of the the time received just by one subscriber. But in case of a "broadcast" every subscribers will receive it.
Where is the difference between the Observer pattern and the publish/subscriber .
http://msdn.microsoft.com/en-us/library/ms978603.aspx
Bookmarks