FREE Subscription to Dr. Dobb’s Digest: Same Great Content, New Digital Edition
Site Archive (Complete)
C++ Blog: Pass the Event Buck
C++
void main(void)

Calls, Returns and In-Between.

by Kevin Carlson
SELECTIVE IGNORANCE

Finding the Signal in the Noise

by Andrew Koenig
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




 
INFO-LINK