C++ In-Depth - Schmidt D.C., Huston S.D. - C++ Network Programming (vol. 1,2)

Название:
C++ In-Depth - Schmidt D.C., Huston S.D. - C++ Network Programming (vol. 1,2)
Размер:
4.5 MB
38
Скачать
Автор: Douglas C. Schmidt, Stephen D. Huston
Жанр: Программирование
Издательство: Addison Wesley
Язык: Английский
Формат: CHM
Качество: Изначально компьютерное (eBook)
Ещё книги по ACE
The ACE Programmer's Guide: Practical Design Patterns for Network and Systems Programming
http://rutracker.org/forum/viewtopic.php?t=3226670



C++ Network Programming, Volume 1: Mastering Complexity with ACE and Patterns
Год: 2001
ISBN: 0-201-60464-7
Количество страниц: 336
Описание: Provides practical solutions for developing and optimizing complex distributed systems using the ACE, a revolutionary open-source framework that runs on dozens of hardware platforms and operating systems.
Guides software professionals through the traps and pitfalls of developing efficient, portable, and flexible networked applications.
Пример главы: http://www.informit.com/articles/article.aspx?p=25486
Примеры страниц


Оглавление
Copyright
List of Figures
Foreword
About This Book
Intended Audience
Structure and Content
Related Material
Acknowledgments
Chapter 0. Design Challenges, Middleware Solutions, and ACE
Section 0.1. Challenges of Networked Applications
Section 0.2. Networked Application Design Dimensions
Section 0.3. Object-Oriented Middleware Solutions
Section 0.4. An Overview of the ACE Toolkit
Section 0.5. Example: A Networked Logging Service
Section 0.6. Summary
Part I: Object-Oriented Network Programming
Chapter 1. Communication Design Dimensions
Section 1.1. Connectionless versus Connection-Oriented Protocols
Section 1.2. Synchronous versus Asynchronous Message Exchange
Section 1.3. Message Passing versus Shared Memory
Section 1.4. Summary
Chapter 2. An Overview of the Socket API
Section 2.1. An Overview of Operating System IPC Mechanisms
Section 2.2. The Socket API
Section 2.3. Limitations of the Socket API
Section 2.4. Summary
Chapter 3. The ACE Socket Wrapper Facades
Section 3.1. Overview
Section 3.2. The ACE_Addr and ACE_INET_Addr Classes
Section 3.3. The ACE_IPC_SAP Class
Section 3.4. The ACE_SOCK Class
Section 3.5. The ACE_SOCK_Connector Class
Section 3.6. The ACE_SOCK_IO and ACE_SOCK_Stream Classes
Section 3.7. The ACE_SOCK_Acceptor Class
Section 3.8. Summary
Chapter 4. Implementing the Networked Logging Service
Section 4.1. Overview
Section 4.2. The ACE_Message_Block Class
Section 4.3. The ACE_InputCDR and ACE_OutputCDR Classes
Section 4.4. The Initial Logging Server
Section 4.5. The Client Application
Section 4.6. Summary
Part II: Concurrent Object-Oriented Network Programming
Chapter 5. Concurrency Design Dimensions
Section 5.1. Iterative, Concurrent, and Reactive Servers
Section 5.2. Processes versus Threads
Section 5.3. Process/Thread Spawning Strategies
Section 5.4. User, Kernel, and Hybrid Threading Models
Section 5.5. Time-Shared and Real-Time Scheduling Classes
Section 5.6. Task- versus Message-Based Architectures
Section 5.7. Summary
Chapter 6. An Overview of Operating System Concurrency Mechanisms
Section 6.1. Synchronous Event Demultiplexing
Section 6.2. Multiprocessing Mechanisms
Section 6.3. Multithreading Mechanisms
Section 6.4. Synchronization Mechanisms
Section 6.5. Limitations with OS Concurrency Mechanisms
Section 6.6. Summary
Chapter 7. The ACE Synchronous Event Demultiplexing Wrapper Facades
Section 7.1. Overview
Section 7.2. The ACE_Handle_Set Class
Section 7.3. The ACE_Handle_Set_Iterator Class
Section 7.4. The ACE::select() Methods
Section 7.5. Summary
Chapter 8. The ACE Process Wrapper Facades
Section 8.1. Overview
Section 8.2. The ACE_Process Class
Section 8.3. The ACE_Process_Options Class
Section 8.4. The ACE_Process_Manager Class
Section 8.5. Summary
Chapter 9. The ACE Threading Wrapper Facades
Section 9.1. Overview
Section 9.2. The ACE_Thread_Manager Class
Section 9.3. The ACE_Sched_Params Class
Section 9.4. The ACE_TSS Class
Section 9.5. Summary
Chapter 10. The ACE Synchronization Wrapper Facades
Section 10.1. Overview
Section 10.2. The ACE Guard Classes
Section 10.3. The ACE Mutex Classes
Section 10.4. The ACE Readers/Writer Lock Classes
Section 10.5. The ACE Semaphore Classes
Section 10.6. The ACE Condition Variable Classes
Section 10.7. Summary
Appendix A. Design Principles for ACE C++ Wrapper Facades
Section A.1. Overview
Section A.2. Use Wrapper Facades to Enhance Type Safety
Section A.3. Simplify for the Common Case
Section A.4. Use Hierarchies to Enhance Design Clarity and Extensibility
Section A.5. Hide Platform Differences Whenever Possible
Section A.6. Optimize for Efficiency
Section A.7. Summary
Appendix B. The Past, Present, and Future of ACE
Section B.1. The Evolution of ACE
Section B.2. The Road Ahead
Section B.3. Concluding Remarks
Glossary
Bibliography




C++ Network Programming, Volume 2: Systematic Reuse with ACE and Frameworks
Год: 2002
ISBN: 0-201-79525-6
Количество страниц: 384
Описание: C++ Network Programming, Volume 2, focuses on ACE frameworks, providing thorough coverage of the concepts, patterns, and usage rules that form their structure. This book is a practical guide to designing object-oriented frameworks and shows developers how to apply frameworks to concurrent networked applications. C++ Networking, Volume 1, introduced ACE and the wrapper facades, which are basic network computing ingredients. Volume 2 explains how frameworks build on wrapper facades to provide higher-level communication services.
Пример главы: http://www.informit.com/articles/article.aspx?p=31351
Примеры страниц


Оглавление
Copyright
Foreword
About This Book
Intended Audience
Structure and Content
Related Material
Acknowledgments
Chapter 1. Object-Oriented Frameworks for Network Programming
Section 1.1. An Overview of Object-Oriented Frameworks
Section 1.2. Comparing Software Development and Reuse Techniques
Section 1.3. Applying Frameworks to Network Programming
Section 1.4. A Tour through the ACE Frameworks
Section 1.5. Example: A Networked Logging Service
Section 1.6. Summary
Chapter 2. Service and Configuration Design Dimensions
Section 2.1. Service and Server Design Dimensions
Section 2.2. Configuration Design Dimensions
Section 2.3. Summary
Chapter 3. The ACE Reactor Framework
Section 3.1. Overview
Section 3.2. The ACE_Time_Value Class
Section 3.3. The ACE_Event_Handler Class
Section 3.4. The ACE Timer Queue Classes
Section 3.5. The ACE_Reactor Class
Section 3.6. Summary
Chapter 4. ACE Reactor Implementations
Section 4.1. Overview
Section 4.2. The ACE_Select_Reactor Class
Section 4.3. The ACE_TP_Reactor Class
Section 4.4. The ACE_WFMO_Reactor Class
Section 4.5. Summary
Chapter 5. The ACE Service Configurator Framework
Section 5.1. Overview
Section 5.2. The ACE_Service_Object Class
Section 5.3. The ACE_Service_Repository Classes
Section 5.4. The ACE_Service_Config Class
Section 5.5. Summary
Chapter 6. The ACE Task Framework
Section 6.1. Overview
Section 6.2. The ACE_Message_Queue Class
Section 6.3. The ACE_Task_Class
Section 6.4. Summary
Chapter 7. The ACE Acceptor-Connector Framework
Section 7.1. Overview
Section 7.2. The ACE_Svc_Handler Class
Section 7.3. The ACE_Acceptor Class
Section 7.4. The ACE_Connector Class
Section 7.5. Summary
Chapter 8. The ACE Proactor Framework
Section 8.1. Overview
Section 8.2. The Asynchronous I/O Factory Classes
Section 8.3. The ACE_Handler Class
Section 8.4. The Proactive Acceptor-Connector Classes
Section 8.5. The ACE_Proactor Class
Section 8.6. Summary
Chapter 9. The ACE Streams Framework
Section 9.1. Overview
Section 9.2. The ACE_Module Class
Section 9.3. The ACE_Stream Class
Section 9.4. Summary
Glossary
Bibliography