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

RWTPortalOStream<charT, traits = char_traits<charT> >

Module:  Essential Networking Module   Package:  Networking


std::basic_ostream RWTPortalOStream RWTPortalStreamBase

Local Index

Members

Header File

#include <rw/network/RWTPortalOStream.h>

Description

RWTPortalOStream provides a std::basic_ostream that uses an RWPortal as its sink of bytes. The RWPortal associated with this class can be attached to any of the communications channels supported by SourcePro Net.

Public Constructors

RWTPortalOStream();
RWTPortalOStream(const RWPortal&);

NOTE -- RWTPortalOStream should not be used with a non-blocking communications channel. The implementation of this class uses the recvAtLeast() and sendAtLeast() member functions of the underlying RWPortal. These functions will likely throw exceptions if called on a non-blocking communications channel.


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.