找回密码
 用户注册

QQ登录

只需一步,快速开始

查看: 4146|回复: 2

Spipe 能否使用 Proactor ?

[复制链接]
发表于 2008-7-15 22:12:02 | 显示全部楼层 |阅读模式
最好能结合ace5.5 example  - SPIPE_SAP_NPServer/Client 例子说明一下,谢谢了!
 楼主| 发表于 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.
 楼主| 发表于 2008-7-15 22:12:29 | 显示全部楼层
I would avoid using these for production.
use reactor + socket
您需要登录后才可以回帖 登录 | 用户注册

本版积分规则

Archiver|手机版|小黑屋|ACE Developer ( 京ICP备06055248号 )

GMT+8, 2024-12-4 01:51 , Processed in 0.026389 second(s), 5 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表