SourcePro C++ 12.0 |
SourcePro® C++ API Reference Guide |
SourcePro C++ Documentation Home |
Encapsulates an RWSocketPortal that receives the data portion of a message. More...
#include <rw/pop3/RWPop3DataReply.h>
Public Member Functions | |
RWPop3DataReply (void) | |
RWSocketPortal | getPortal (void) const |
RWCString | getText (void) const |
Private Member Functions | |
virtual void | parse (void) |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &str, const RWPop3DataReply &r) |
RWPop3DataReply is derived from RWPop3Reply. RWPop3DataReply includes an RWSocketPortal that receives the data portion of the message. You should not close this socket portal. Take care to read data only up to the end of the message marker <period><cr><lf>
contained on a line by itself.
RWPop3DataReply::RWPop3DataReply | ( | void | ) |
Uses the assignment operator to initialize the default RWPop3DataReply object.
RWSocketPortal RWPop3DataReply::getPortal | ( | void | ) | const |
Returns the connected data portal to read data from the underlying socket.
RWCString RWPop3DataReply::getText | ( | void | ) | const |
Returns additional information available on the POP3 reply line. If no additional data is available following either +OK
or -ERR
, then the method returns a null string. The RWCString should contain 7-bit US-ASCII data.
virtual void RWPop3DataReply::parse | ( | void | ) | [private, virtual] |
Performs an extended parse to obtain the additional text that follows either +OK
or -ERR
on the reply line.
Reimplemented from RWPop3Reply.
std::ostream& operator<< | ( | std::ostream & | str, | |
const RWPop3DataReply & | r | |||
) | [friend] |
Outputs an RWPop3DataReply object to an std::ostream.
© 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.