C++ Network Programming, Volume I: Mastering Complexity with ACE and Patterns

Ru-Brd

Chapter 4. ACE Reactor Implementations

C HAPTER S YNOPSIS

This chapter describes the design and use of several implementations of the ACE_Reactor interface described in Chapter 3. These implementations support a diverse collection of operating system synchronous event demultiplexing mechanisms, including select() , WaitForMultipleObjects() , XtAppMainLoop() , and /dev/poll . We explain the motivations for, and capabilities provided by, the most common reactor implementations available in the ACE Reactor framework. We also illustrate how to use three different implementations of the ACE_Reactor to improve our logging server example. In addition, we show the range of concurrency models supported by these ACE_Reactor implementations.

Ru-Brd

Категории