rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWPop3StatReply Class Reference
[POP3]

Used to parse additional reply data returned in response to the POP3 STAT command. More...

#include <rw/pop3/RWPop3StatReply.h>

Inheritance diagram for RWPop3StatReply:
RWPop3Reply RWReply

List of all members.

Public Member Functions

 RWPop3StatReply (void)
int getMessageCount (void) const
int getOctets (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 RWPop3StatReply &r)

Detailed Description

RWPop3StatReply is derived from RWPop3Reply. RWPop3StatReply parses out additional reply data returned in response to the POP3 STAT command. This data includes the number of messages waiting in the maildrop, and the number of octets consumed by those messages.


Constructor & Destructor Documentation

RWPop3StatReply::RWPop3StatReply ( void   ) 

Default constructor.


Member Function Documentation

int RWPop3StatReply::getMessageCount ( void   )  const

Returns the number of messages waiting in the mail drop.

int RWPop3StatReply::getOctets ( void   )  const

Returns the total size (in octets) of the messages waiting in the mail drop.

virtual void RWPop3StatReply::parse ( void   )  [private, virtual]

Performs an extended parse to obtain the number of waiting messages and their total size.

Reimplemented from RWPop3Reply.


Friends And Related Function Documentation

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

Outputs an RWPop3StatReply object to an std::ostream.

Note:
RWPop3StatReply 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.