Logo Search packages:      
Sourcecode: pan version File versions  Download package

Public Member Functions

pan::NNTP::Listener Struct Reference

#include <nntp.h>

Inheritance diagram for pan::NNTP::Listener:
Inheritance graph

List of all members.

Public Member Functions

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

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 53 of file nntp.h.

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

Generated by  Doxygen 1.6.0   Back to index