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.3 Understanding Virtual Streams

A virtual stream is a data sink or source. Virtual streams are extensions of the C++ stream abstraction, an abstract interface that hides the details of data transmission.

Rogue Wave's Essential Tools Module includes several virtual streams classes, each suited for a different task:

Standard C++ Library streambufs are the source and sink of bytes for a virtual stream. When an application uses an RWPortalStreambuf, the virtual stream uses a Networking package communications channel as the source or sink of bytes. By using a virtual output stream on one end of a connection and a virtual input stream on the other end of the connection, you can transmit objects across the communications channel.

All virtual streams use operators << and >> to read and write data to and from streams. For more information about virtual streams, see the Essential Tools Module User's Guide.



Previous fileTop of DocumentContentsNo linkNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and SourcePro, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.