C++ Network Programming, Volume I - Douglas Schmidt, Stephen Huston

C++ Network Programming, Volume I

Mastering Complexity with ACE and Patterns
Buch | Softcover
336 Seiten
2001
Addison Wesley (Verlag)
978-0-201-60464-1 (ISBN)
73,75 inkl. MwSt
Provides solutions for developing and optimizing complex distributed systems using the ADAPTIVE Communication Environment, an open-source framework that runs on dozens of hardware platforms and operating systems. This book guides software professionals through the traps and pitfalls of developing portable and flexible networked applications.
As networks, devices, and systems continue to evolve, software engineers face the unique challenge of creating reliable distributed applications within frequently changing environments. C++ Network Programming, Volume 1, provides practical solutions for developing and optimizing complex distributed systems using the ADAPTIVE Communication Environment (ACE), a revolutionary open-source framework that runs on dozens of hardware platforms and operating systems.

This book guides software professionals through the traps and pitfalls of developing efficient, portable, and flexible networked applications. It explores the inherent design complexities of concurrent networked applications and the tradeoffs that must be considered when working to master them.

C++ Network Programming begins with an overview of the issues and tools involved in writing distributed concurrent applications. The book then provides the essential design dimensions, patterns, and principles needed to develop flexible and efficient concurrent networked applications. The book's expert author team shows you how to enhance design skills while applying C++ and patterns effectively to develop object-oriented networked applications.

Readers will find coverage of:



C++ network programming, including an overview and strategies for addressing common development challenges The ACE Toolkit
Connection protocols, message exchange, and message-passing versus shared memory
Implementation methods for reusable networked application services
Concurrency in object-oriented network programming
Design principles and patterns for ACE wrapper facades

With this book, C++ developers have at their disposal the most complete toolkit available for developing successful, multiplatform, concurrent networked applications with ease and efficiency.

Dr. Douglas C. Schmidt is the original developer of ACE and The ACE ORB (TAO). He is a professor at Vanderbilt University, where he studies patterns, optimizations, middleware, and model-based tools for distributed real-time and embedded systems. He is a former editor-in-chief of C++ Report and columnist for C/C++ Users Journal. Stephen D. Huston is an internationally recognized expert in networked application development. He has more than 25 years of software development experience, focusing on network protocol and C++ networked application development in a wide range of hardware and software environments. Steve has been working with the ACE development team for over 10 years since founding Riverace Corporation, the premier provider of ACE support, training, and consulting services.

(NOTE: All chapters end with a Summary.)

About This Book.


Design Challenges, Middleware Solutions, and ACE.


Challenges of Networked Applications.



Networked Application Design Dimensions.



Object-Oriented Middleware Solutions.



An Overview of the ACE Toolkit.



Example Application: A Networked Logging Service.

I. OBJECT-ORIENTED NETWORK PROGRAMMING.

1. Communication Design Dimensions.


Connectionless versus Connection-oriented Protocols.



Synchronous versus Asynchronous Message Exchange.



Message Passing versus Shared Memory.

2. An Overview of the Socket API.


An Overview of Operating System IPC Mechanisms.



The Socket API.



Limitations of the Socket API.

3. The ACE Socket Wrapper Facades.


Overview.



The ACE Addr and ACE INET Addr Classes.



The ACE IPC SAP Class.



The ACE SOCK Class.



The ACE SOCK Connector Class.



The ACE SOCK Stream and ACE SOCK IO Classes..



The ACE SOCK Acceptor Class.

4. Implementing the Networked Logging Service.


Overview.



The ACE Message Block Class.



The ACE InputCDR and ACE OutputCDR Classes.



The Initial Logging Server.



The Client Application.

II. CONCURRENT OBJECT-ORIENTED NETWORK PROGRAMMING.

5. Concurrency Design Dimensions.


Iterative, Concurrent, and Reactive Servers.



Processes versus Threads.



Process/Thread Spawning Strategies.



User, Kernel, and Hybrid Threading Models.



Time-shared and Real-time Scheduling Classes.



Task- vs. Message-based Architectures.

6. An Overview of Operating System Concurrency Mechanisms.


Synchronous Event Demultiplexing.



MultiProcessing Mechanisms.



MultiThreading Mechanisms.



Synchronization Mechanisms.



Limitations with OS Concurrency Mechanisms.

7. The ACE Synchronous Event Demultiplexing Wrapper Facades.


Overview.



The ACE Handle Set Class.



The ACE Handle Set Iterator Class.



The ACE::select() Methods.

8. The ACE Process Wrapper Facades.


Overview.



The ACE Process Class.



The ACE Process Options Class.



The ACE Process Manager Class.

9. The ACE Threading Wrapper Facades.


Overview.



The ACE Thread Manager Class.



The ACE Sched Params Class.



The ACE TSS Class.

10. The ACE Synchronization Wrapper Facades.


Overview.



The ACE Guard Classes.



The ACE Mutex Classes.



The ACE Readers/Writer Lock Classes.



The ACE Semaphore Classes.



The ACE Condition Variable Classes.

A Design Principles for ACE C++ Wrapper Facades.


Overview.



Use Wrapper Facades to Enhance Type Safety.



Simplify for the Common Case.



Use Hierarchies to Enhance Design Clarity and Extensibility.



Hide Platform Differences Whenever Possible.



Optimize for Efficiency.

B The Past, Present, and Future of ACE.


The Evolution of ACE.



The Road Ahead.



Concluding Remarks.

Glossary.
Index. 0201604647T12052001

Erscheint lt. Verlag 20.12.2001
Reihe/Serie The C++ In Depth Series
Verlagsort Harlow
Sprache englisch
Maße 186 x 234 mm
Gewicht 580 g
Themenwelt Mathematik / Informatik Informatik Netzwerke
Informatik Programmiersprachen / -werkzeuge C / C++
ISBN-10 0-201-60464-7 / 0201604647
ISBN-13 978-0-201-60464-1 / 9780201604641
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Das umfassende Handbuch

von Torsten T. Will

Buch | Hardcover (2024)
Rheinwerk (Verlag)
49,90
Technisch-wissenschaftliche Übungsaufgaben mit Lösungen

von Thomas Hoch; Gerd Küveler

Buch | Softcover (2023)
Springer Vieweg (Verlag)
37,99
das umfassende Handbuch

von Jürgen Wolf; René Krooß

Buch | Hardcover (2023)
Rheinwerk (Verlag)
49,90