SourcePro® C++ API Reference Guide

Product Documentation:
   SourcePro C++
Documentation Home
List of all members | Public Member Functions | Protected Member Functions | Related Functions
RWPop3ConnReply Class Reference

Used to parse the POP3 protocol reply for the timestamp passed back by a server implementation supporting enhanced security features. More...

#include <rw/pop3/RWPop3ConnReply.h>

Inheritance diagram for RWPop3ConnReply:
RWPop3Reply RWReply

Public Member Functions

 RWPop3ConnReply (void)
 
RWCString getTimeStamp (void) const
 
- Public Member Functions inherited from RWPop3Reply
 RWPop3Reply (void)
 
RWCString getData (void) const
 
bool isErr (void) const
 
bool isOk (void) const
 
- Public Member Functions inherited from RWReply
 RWReply (void)
 
virtual ~RWReply (void)
 
virtual void clearAndDestroy (void)
 
virtual bool isComplete (void) const
 
virtual bool isValid (void) const
 

Protected Member Functions

virtual void parse (void)
 
- Protected Member Functions inherited from RWPop3Reply
void readFromPortal (const RWPortal &portal)
 

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &str, const RWPop3ConnReply &r)
 

Additional Inherited Members

- Protected Types inherited from RWPop3Reply
enum  resultCode { CODE_UNKNOWN, CODE_OK, CODE_ERR }
 
- Protected Attributes inherited from RWPop3Reply
RWCString data_
 
- Protected Attributes inherited from RWReply
bool complete_
 
bool valid_
 

Detailed Description

RWPop3ConnReply is derived from RWPop3Reply. RWPop3ConnReply attempts to parse the POP3 protocol reply for the timestamp passed back by a server implementation supporting enhanced security features. If the server does not support this option, the timestamp method returns an empty string.

Constructor & Destructor Documentation

RWPop3ConnReply::RWPop3ConnReply ( void  )

Constructs a default RWPop3ConnReply.

Member Function Documentation

RWCString RWPop3ConnReply::getTimeStamp ( void  ) const

Returns the timestamp passed to the client upon the connection to the server. The timestamp is a unique ID used for advanced features, such as authentication. The RWCString should contain 7-bit US-ASCII data.

virtual void RWPop3ConnReply::parse ( void  )
protectedvirtual

Performs an extended parse that attempts to obtain the server timestamp.

Reimplemented from RWPop3Reply.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  str,
const RWPop3ConnReply r 
)
friend

Outputs an RWPop3ConnReply object to an std::ostream.

Note
RWPop3ConnReply does not have an extraction (>>) operator.

Copyright © 2016 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.
Provide feedback to Rogue Wave about its documentation.