The Artima Developer Community
Sponsored Link

Legacy Design Forum
Event Generator Idiom

Advertisement

Advertisement

This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Mediator

Posted by Dan Greenberg on October 22, 2000 at 4:30 AM

in artima.com/flexiblejava "event generator idiom" forum you posted:
"finally I used a mediator class which encapsulated all event related information and which has methods to change the event data and it has a methods to register list of listeners for each eventtype whom it notifies when an event data changes"
I'm working on something similar right now (actually just working out the design, starting with Venners "Event Generator Idiom"). Do you have any source code or pseudocode I could look at?



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us