SourcePro C++ 12.0 |
SourcePro® C++ API Reference Guide |
SourcePro C++ Documentation Home |
Base class that includes functions common to derived portal stream classes. More...
#include <rw/network/RWTPortalStreamBase.h>
Public Member Functions | |
RWTPortalStreamBase () | |
RWTPortalStreamBase (const RWPortal &) | |
void | attach (const RWPortal &p, bool force=false) |
void | detach (bool force=false) |
RWTPortalStreamBase includes functions common to derived portal stream classes.
RWTPortalStreamBase< charT, traits >::RWTPortalStreamBase | ( | ) |
Constructs a portal stream.
RWTPortalStreamBase< charT, traits >::RWTPortalStreamBase | ( | const RWPortal & | ) |
Constructs a portal stream.
void RWTPortalStreamBase< charT, traits >::attach | ( | const RWPortal & | p, | |
bool | force = false | |||
) |
Sets the stream to use a portal to the same communications channel as p. If force is true
, the reattachment is forced, and any exceptions thrown by the underlying RWTPortalStreambuf are caught and ignored.
void RWTPortalStreamBase< charT, traits >::detach | ( | bool | force = false |
) |
Detaches the stream from the portal channel. If force is true
, the detach is forced, and any exceptions thrown by the underlying RWTPortalStreambuf are caught and ignored. If this is the last portal to this communications channel, then the channel is closed.
© 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.