Logo Search packages:      
Sourcecode: pan version File versions

virtual void pan::NNTP::Listener::on_nntp_done ( NNTP nntp,
Health  health,
const StringView response 
) [inline, virtual]

Called at the end of an NNTP command. If the command was one that produced a list, on_nntp_line() may have been called before this.

When this is called, the listener can safely clean up anything associated with processing the command.

health if OK, the command was successful. if RETRY, the command couldn't be processed now but might be successful later -- perhaps there was a bad connection. if FAIL, there's no point in retrying -- perhaps the article has expired.

Reimplemented in pan::NNTP_Pool, pan::TaskArticle, pan::TaskGroups, pan::TaskPost, and pan::TaskXOver.

Definition at line 81 of file nntp.h.


Generated by  Doxygen 1.6.0   Back to index