|
楼主 |
发表于 2008-7-15 22:12:15
|
显示全部楼层
In contrast to the ACE IPC wrapper facades, such as ACE_SOCK_Stream described in C++NPv1, ACE_Asynch_Read_Stream
and ACE_Asynch_Write_Stream don't encapsulate any underlying IPC
mechanisms. Instead, they define the interface for initiating asynchronous I/O
operations. This design yields the following benefits:
It allows reuse of ACE's IPC wrapper facade classes, such as ACE_SOCK_Stream and ACE_SPIPE_Stream, in the ACE Proactor
framework and avoids recreating a parallel set of IPC classes usable only in the
Proactor framework. |
|