文件名称:ACE_SEVER_POOL
- 所属分类:
- Internet/网络编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 21.04mb
- 下载次数:
- 0次
- 提 供 者:
- 吴*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
采用ACE实现了一个通用的C/S架构通信程序,具体实现简述如下:1. 服务器端:一个采用领导者/跟随者模型的线程池不断地接受从多个客户端发来的消息,并放入一个消息队列,然后又有一个采用半同步/半异步模型的线程池不断地从这个消息队列中取出消息进行处理-I recently adopted by the ACE to achieve a common C/S architecture communication procedures, concrete realization are summarized as follows: 1. Server-side: a leader/follower model of the thread pool to continue to accept messages sent from multiple clients, and placed in a message queue, and then there is a semi-synchronous/semi-asynchronous model of the thread pool constantly removed from the message queue message processing
(系统自动生成,下载前可以参看下载内容)
下载文件列表
client
......\client
......\......\ACE_Client.cpp
......\......\Client.cpp
......\......\Client.h
......\......\Constants.h
......\......\client.vcxproj
......\......\client.vcxproj.filters
......\......\client.vcxproj.user
......\client.sdf
......\client.sln
......\client.suo
server
......\server
......\......\ACE_Server.cpp
......\......\Constants.h
......\......\Request_Handler.cpp
......\......\Request_Handler.h
......\......\Server.cpp
......\......\Server.h
......\......\Task_Manager.cpp
......\......\Task_Manager.h
......\......\Task_Worker.cpp
......\......\Task_Worker.h
......\......\server.vcxproj
......\......\server.vcxproj.filters
......\......\server.vcxproj.user
......\server.sdf
......\server.sln
......\server.suo
......\client
......\......\ACE_Client.cpp
......\......\Client.cpp
......\......\Client.h
......\......\Constants.h
......\......\client.vcxproj
......\......\client.vcxproj.filters
......\......\client.vcxproj.user
......\client.sdf
......\client.sln
......\client.suo
server
......\server
......\......\ACE_Server.cpp
......\......\Constants.h
......\......\Request_Handler.cpp
......\......\Request_Handler.h
......\......\Server.cpp
......\......\Server.h
......\......\Task_Manager.cpp
......\......\Task_Manager.h
......\......\Task_Worker.cpp
......\......\Task_Worker.h
......\......\server.vcxproj
......\......\server.vcxproj.filters
......\......\server.vcxproj.user
......\server.sdf
......\server.sln
......\server.suo