RWIPop3DataReplyRWIPop3ReplyRWIReply
Networking Tools: Thread-hot Internet Classes (int library)
#include <rw/toolpro/preply.h> RWIPop3DataReply reply;
thr, net, int, tls (and possibly std)
RWIPop3DataReply is derived from RWIPop3Reply. RWIPop3DataReply contains an RWSocketPortal used to obtain the data portion of the message. This socket portal is provided to read the message and should not be closed by the library consumer. The library consumer should take care to read data only up to the end of the message marker <period><cr><lf> contained on a line by itself.
RWIPop3DataReply();
Constructs a default RWIPop3DataReply object. You need to use the assignment operator to initialize the default RWIPop3DataReply object.
RWCString additionalData() 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.
RWSocketPortal portal() const;
Returns the connected data portal to read data from the underlying socket.
ostream& operator<<(ostream& strm, const RWIPop3DataReply& r);
Outputs an RWIPop3DataReply object to an ostream.
Note: This class does not have an extraction (>>) operator.
©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.