没有合适的资源?快使用搜索试试~ 我知道了~
首页C++ Network Programming - Systematic Reuse with ACE and Frameworks
C++ Network Programming - Systematic Reuse with ACE and Framewor...
4星 · 超过85%的资源 需积分: 10 19 下载量 126 浏览量
更新于2023-06-22
评论
收藏 790KB PDF 举报
Dr. Douglas C. Schmidt Stephen D. Huston C++ Network Programming - Systematic Reuse with ACE and Frameworks Dr. Douglas C. Schmidt Stephen D. Huston
资源详情
资源评论
资源推荐
“hs˙bo
2001/
page i
i
i
i
i
i
i
i
i
C++ Network Programming
Systematic Reuse with ACE and Frameworks
Dr. Douglas C. Schmidt Stephen D. Huston
“hs˙bo
2001/
page i
i
i
i
i
i
i
i
i
“hs˙b
2001
page
i
i
i
i
i
i
i
i
Contents
About this Book vii
1 Object-Oriented Frameworks for Network Programming 1
1.1 An Overview of Object-Oriented Frameworks . . . . . . . . 1
1.2 Applying Frameworks to Network Programming . . . . . . 4
1.3 An Overview of the ACE Frameworks . . . . . . . . . . . . . 7
1.4 Comparing Frameworks with Other Reuse Techniques . . 10
1.5 Example: A Networked Logging Service . . . . . . . . . . . 16
1.6 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2 Service and Configuration Design Dimensions 23
2.1 Service Design Dimensions . . . . . . . . . . . . . . . . . . 23
2.1.1 Short- vs. Long-Duration Services . . . . . . . . . . 24
2.1.2 Internal vs. External Services . . . . . . . . . . . . . 24
2.1.3 Stateful vs. Stateless Services . . . . . . . . . . . . . 26
2.1.4 Layered/Modular vs. Monolithic Services . . . . . . 27
2.1.5 Single- vs. Multi-Service Servers . . . . . . . . . . . 30
2.1.6 One-shot vs. Standing Servers . . . . . . . . . . . . . 31
2.2 Configuration Design Dimensions . . . . . . . . . . . . . . . 33
2.2.1 Static vs. Dynamic Naming . . . . . . . . . . . . . . . 33
2.2.2 Static vs. Dynamic Linking . . . . . . . . . . . . . . . 33
2.2.3 Static vs. Dynamic Configuration . . . . . . . . . . . 35
2.3 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
iii
“hs˙bo
2001/
page i
i
i
i
i
i
i
i
i
iv
CONTENTS
3 The ACE Reactor Framework 39
3.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
3.2 The ACE
Time Value Class . . . . . . . . . . . . . . . . . . . 42
3.3 The ACE
Event Handler Class . . . . . . . . . . . . . . . . . 44
3.4 The ACE Timer Queue Classes . . . . . . . . . . . . . . . . 54
3.5 The ACE
Reactor Class . . . . . . . . . . . . . . . . . . . . . 61
3.6 The ACE
Select Reactor Class . . . . . . . . . . . . . . . . . 73
3.7 The ACE
TP Reactor Class . . . . . . . . . . . . . . . . . . . 81
3.8 The ACE
WFMO Reactor Class . . . . . . . . . . . . . . . . 84
3.9 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
4 The ACE Service Configurator Framework 91
4.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
4.2 The ACE
Service Object Class . . . . . . . . . . . . . . . . . 94
4.3 The ACE
Service Repository and ACE Service Repository Iterator
Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
4.4 The ACE
Service Config Class . . . . . . . . . . . . . . . . . 109
4.5 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
5 The ACE Task Framework 121
5.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
5.2 The ACE
Message Queue Class . . . . . . . . . . . . . . . . 123
5.3 The ACE
Task Class . . . . . . . . . . . . . . . . . . . . . . . 139
5.4 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
“hs˙bo
2001/
page v
i
i
i
i
i
i
i
i
List of Figures
1.1 Defining Characteristics of a Framework . . . . . . . . . . . . 3
1.2 Levels of Abstraction for Network Programming . . . . . . . . 5
1.3 The Layered Architecture of ACE . . . . . . . . . . . . . . . . 8
1.4 The Frameworks in ACE . . . . . . . . . . . . . . . . . . . . . 9
1.5 Class Library vs. Framework Architectures . . . . . . . . . . 11
1.6 Applying Class Libraries to Develop and Use ACE Frameworks 14
1.7 Component Architecture . . . . . . . . . . . . . . . . . . . . . 14
1.8 Processes and Daemons in the Networked Logging Service . 18
2.1 Internal vs. External Services . . . . . . . . . . . . . . . . . . 25
2.2 Layered/Modular vs. Monolithic Services . . . . . . . . . . . 27
2.3 Single-service vs. Multi-service Servers . . . . . . . . . . . . . 30
2.4 One-shot vs. Standing Servers . . . . . . . . . . . . . . . . . . 32
2.5 Static Linking vs. Dynamic Linking . . . . . . . . . . . . . . . 34
3.1 The ACE Reactor Framework Classes . . . . . . . . . . . . . . 40
3.2 The ACE
Time Value Class . . . . . . . . . . . . . . . . . . . . 43
3.3 The ACE
Event Handler Class . . . . . . . . . . . . . . . . . . 46
3.4 The ACE Timer Queue Classes . . . . . . . . . . . . . . . . . . 55
3.5 The ACE
Reactor Class . . . . . . . . . . . . . . . . . . . . . . 62
3.6 The ACE Reactor Class Hierarchy . . . . . . . . . . . . . . . . 68
3.7 Architecture of Reactor-based Logging Server . . . . . . . . . 70
3.8 The ACE
Select Reactor Framework Internals . . . . . . . . 75
3.9 The ACE
Select Reactor Notification Mechanism . . . . . . 78
v
剩余169页未读,继续阅读
zhanchenxing
- 粉丝: 1
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- zigbee-cluster-library-specification
- JSBSim Reference Manual
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论3