Chapter 3: The ACE Reactor Framework

This chapter describes the design and use of the ACE Reactor framework. This framework implements the Reactor pattern, which allows event-driven applications to react to events originating from a number of disparate sources. Application-specific logic resides in framework-defined hook methods to which the framework dispatches event processing. We show how to implement a logging server using a reactor that detects and demultiplexes different types of connection and data events from various event sources and then dispatches the events to application-defined handlers that process the events.


Back to C++NPv2 home page.