rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWTPortalOStream< charT, traits > Class Template Reference
[Essential Networking Module]

Provides a std::basic_ostream that uses an RWPortal as its sink of bytes. More...

#include <rw/network/RWTPortalOStream.h>

Inheritance diagram for RWTPortalOStream< charT, traits >:
RWTPortalStreamBase< charT, traits >

List of all members.

Public Member Functions

 RWTPortalOStream ()
 RWTPortalOStream (const RWPortal &)

Detailed Description

template<class charT, class traits>
class RWTPortalOStream< charT, traits >

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.


Constructor & Destructor Documentation

template<class charT , class traits >
RWTPortalOStream< charT, traits >::RWTPortalOStream (  ) 

Constructs a portal output stream from a portal.

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.
template<class charT , class traits >
RWTPortalOStream< charT, traits >::RWTPortalOStream ( const RWPortal  ) 

Constructs a portal output stream from a portal.

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.

 All Classes Functions Variables Typedefs Enumerations Enumerator Friends

© 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.