Module: Internet Protocols Module Package: POP3
RWPop3DataReplyRWPop3ReplyRWReply
#include <rw/pop3/RWPop3DataReply.h>
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();
Uses the assignment operator to initialize the default RWPop3DataReply object.
RWSocketPortal getPortal() const;
Returns the connected data portal to read data from the underlying socket.
RWCString getText() 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.
ostream& operator<<(ostream& strm, const RWPop3DataReply& r);
Outputs an RWPop3DataReply object to an 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.