Logo Search packages:      
Sourcecode: pan version File versions

pan::NNTP::Listener Struct Reference

#include <nntp.h>

Inheritance diagram for pan::NNTP::Listener:

pan::NNTP_Pool pan::TaskArticle pan::TaskGroups pan::TaskPost pan::TaskXOver

List of all members.

Detailed Description

Base class for objects that listen for NNTP events.

NNTP responses are lists of lines (like on XOVER and ARTICLE requests) and one-line status messages. these correspond to on_nntp_line() and on_nntp_done(). A special case is made for the GROUP command's response so the client can get back the group's information fields.

See also:

Definition at line 52 of file nntp.h.

Public Member Functions

virtual void on_nntp_done (NNTP *nntp, Health health, const StringView &response)
virtual void on_nntp_group (NNTP *nntp, const Quark &group, unsigned long estimated_qty, unsigned long low, unsigned long high)
virtual void on_nntp_line (NNTP *nntp, const StringView &line)

The documentation for this struct was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index