Logo Search packages:      
Sourcecode: pan version File versions

pan::ServerInfo Class Reference
[Backend Interfaces]

#include <server-info.h>

Inheritance diagram for pan::ServerInfo:

pan::Data pan::DataImpl

List of all members.


Detailed Description

Data Interface class for querying/setting news server data.

Definition at line 39 of file server-info.h.


Public Member Functions

void add_listener (Listener *l)
virtual bool get_server_addr (const Quark &servername, std::string &setme_address, int &setme_port) const =0
virtual std::string get_server_address (const Quark &servername) const =0
virtual int get_server_article_expiration_age (const Quark &server) const =0
virtual bool get_server_auth (const Quark &servername, std::string &setme_username, std::string &setme_password) const =0
virtual int get_server_limits (const Quark &server) const =0
virtual int get_server_rank (const Quark &server) const =0
void remove_listener (Listener *l)
virtual void set_server_addr (const Quark &servername, const StringView &address, const int port)=0
virtual void set_server_article_expiration_age (const Quark &server, int days)=0
virtual void set_server_auth (const Quark &servername, const StringView &username, const StringView &password)=0
virtual void set_server_limits (const Quark &server, int max_connections)=0
virtual void set_server_rank (const Quark &server, int rank)=0

Protected Member Functions

void fire_server_limits_changed (const Quark &server, int max_connections)

Private Types

typedef std::set< Listener * > listeners_t

Private Attributes

listeners_t _listeners

Classes

class  Listener

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

Generated by  Doxygen 1.6.0   Back to index