Module: Essential Networking Module Package: Networking
RWTPortalStreamBasebasic_ios
#include <rw/network/RWTPortalStreamBase.h>
RWTPortalStreamBase includes functions common to derived portal stream classes.
RWTPortalStreamBase(); RWTPortalStreamBase(const RWPortal&);
Constructs a portal stream.
void 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 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.