Encapsulates an RWSocketPortal that receives the data portion of a message.
More...
#include <rw/pop3/RWPop3DataReply.h>
|
virtual void | parse (void) |
|
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::RWPop3DataReply |
( |
void | | ) |
|
Uses the assignment operator to initialize the default RWPop3DataReply object.
◆ getPortal()
Returns the connected data portal to read data from the underlying socket.
◆ getText()
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.
◆ parse()
virtual void RWPop3DataReply::parse |
( |
void | | ) |
|
|
privatevirtual |
Performs an extended parse to obtain the additional text that follows either +OK
or -ERR
on the reply line.
Reimplemented from RWPop3Reply.
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & | str, |
|
|
const RWPop3DataReply & | r ) |
|
friend |