Always Learning

C++ Network Programming, Volume I: Mastering Complexity with ACE and Patterns
Douglas C. Schmidt
Stephen D. Huston

ISBN-10: 0201604647
ISBN-13:  9780201604641

Publisher:  Addison-Wesley Professional
Copyright:  2002
Format:  Paper; 336 pp
Published:  12/10/2001
Status: Instock


Customers outside the U.S., click here.


Print this content

In this section:


Description


Features


Table of Contents

(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



Back to top

Print this content

In this section:


Sample Chapter

View a Sample Chapter PDF:/samplechapter/0201604647.pdf


Author Bios

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.


Backcover Copy

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.

Back to top

Print this content

This product is a member of the following series. Click on the series name to see the full list of products in the series.

Back to top

Log in to the Instructor Resource Center

Login name: 

  Password: 

Forgot login/password?  |  Need to redeem an access code?

        

Instructor Resource Center File Download

This work is protected by local and international copyright laws and is provided solely for the use of instructors in teaching their courses and assessing student learning. Dissemination or sale of any part of this work (including on the World Wide Web) will destroy the integrity of the work and is not permitted. The work and materials from this site should never be made available to students except by instructors using the accompanying text in their classes. All recipients of this work are expected to abide by these restrictions and to honor the intended pedagogical purposes and the needs of other instructors who rely on these materials.

Cancel     I accept, proceed with download

Print this content

Pearson Higher Education offers special pricing when you choose to package your text with other student resources. If you're interested in creating a cost-saving package for your students contact your Pearson Higher Education representative.

Back to top