rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWPop3DataReply Class Reference
[POP3]

Encapsulates an RWSocketPortal that receives the data portion of a message. More...

#include <rw/pop3/RWPop3DataReply.h>

Inheritance diagram for RWPop3DataReply:
RWPop3Reply RWReply

List of all members.

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)

Detailed Description

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.


Constructor & Destructor Documentation

RWPop3DataReply::RWPop3DataReply ( void   ) 

Uses the assignment operator to initialize the default RWPop3DataReply object.


Member Function Documentation

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.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  str,
const RWPop3DataReply r 
) [friend]

Outputs an RWPop3DataReply object to an std::ostream.

Note:
RWPop3DataReply does not have an extraction (>>) operator.
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends

© 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.