Wrapper Facads of IPC in ACE

ACE wrappered a lot of IPC facilities provided by current mainstream OS, such as Unix/Linux, Win32, QNX etc.

I would like to categorize them into three based on application contexts, as

1. Communication for Client and Server

ACE_Socket

  • Unix Socket
  • TCP/IP Socket

ACE_SPIPE & ACE_UPIPE

  • * ACE_UPIPE ( upipe the same address can be reused by two processes to listen on )
  • Named Pipe ( on win32)
  • SPIPE + Connld ( on Unix/Linux ), that is so called "Named SPIPE"

ACE_TLI

  • This is another equivalence API to BSD socket

ACE_Mem

  • Signal + MMAP ( on Unix/Linux )
  • ....

2.  Communication for Cooperation Processes

2.1 Master drivern Slave process model

ACE_FIFO_Recv & ACE_FIFO_Send ( semiduplex )

ACE_Pipe ( full duplex )

  • TCP socket ( for win32 )
  • SPIPE ( for Unix/Linux platform has spipe support )
  • socketpair ( for Unix/Linux platform without spipe support)

ACE_TTY_IO

  • This shall only support on Linux/Unix ( ??? )

2.2 Concurrent co-working process model

ACE_Shared_Memory

  • BSD's MMAP
  • SVR4's SV_Shared_Memeory

SV_Semphore

SV_MessageQueue

3. Misc

File_IO

Signal

**************************

From ACE_Pipe's implementation, we can see that, the most classical semiduplex un-named pipe is deprecated, as no wrapper for it at all. Because, this is replaced by full duplex pipe as ACE_Pipe

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值