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>
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_ |
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.
RWPop3ConnReply::RWPop3ConnReply | ( | void | ) |
Constructs a default RWPop3ConnReply.
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.
|
protectedvirtual |
Performs an extended parse that attempts to obtain the server timestamp.
Reimplemented from RWPop3Reply.
|
friend |
Outputs an RWPop3ConnReply object to an std::ostream.
Copyright © 2021 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |