Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Essential Networking Module User's Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

5.2 Understanding the Architecture of a Portal Stream

Like other iostream classes, the portal stream classes use an object derived from a Standard C++ Library std::streambuf for buffering and final input and output of the byte stream. The RWPortalStreambuf class used by the portal streams contains an RWPortal. The portal stream class does the formatting, the streambuf buffers the data, and finally the portal object is responsible for requesting or passing bytes to a communications channel. Figure 7 is an object diagram that shows how these pieces fit together.

Figure 7: Communicating through RWPortal streams



Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.