August 29, 2006
Pass the Event Buck
When the events you need to handle can come from many discrete and independent sources (such as machines on a network), it's often a good idea to keep your event-handling classes similarly discrete and independent, and let responsibility for an event cascade from one handler to the next. In his article "The C++ Chain of Responsibility Pattern and Network Events," Stephen Morris demonstrates just how useful this concept can be when building a network monitoring system.
Posted by Kevin Carlson at 01:40 PM Permalink
|