'Mediator' pattern released

I have released Silver.1.6.zip which contains a new example pattern: 'Mediator' as
discussed on page 622 in 'Head First Design Patterns'.

As always, my intent is to implement the example as described in the book; however,
I did have a couple of embellishments: I added a (minimal) WeatherStation and
automation of the example.

The WeatherStation tells auto-house if it is raining and automation of the example
is driving by two (optional) parameters: 'interval' and 'iterations' specifying
the length of a virtual day and the number of days to simulate respectively. The
default is a simulated (yet accelerated) 24 hour day where 1 hour equals one second
and runs for a simulated week where 1 iteration = 1 day.

You can override these values with command-line parameters. As always, constructive
feedback is welcomed.

Posted by gpuchtel 2007-01-16

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks