Main::Admin Class Reference

A factory class for creating GSmtp::AdminServer objects. More...

#include <admin.h>

List of all members.

Static Public Member Functions

static bool enabled ()
 Returns true if newServer() is fully implemented.
static std::auto_ptr
< GSmtp::AdminServer
newServer (const Configuration &, GSmtp::MessageStore &store, const GSmtp::Client::Config &, const GSmtp::Secrets &client_secrets, const std::string &version_number)
 A factory function for creating a new GSmtp::AdminServer instance on the heap.
static void notify (GSmtp::AdminServer &server, const std::string &, const std::string &, const std::string &)
 Calls notify() on the given server.
static void report (const GSmtp::AdminServer &server)
 Calls report() on the given server.


Detailed Description

A factory class for creating GSmtp::AdminServer objects.

Definition at line 42 of file admin.h.


Member Function Documentation

bool Main::Admin::enabled (  )  [static]

Returns true if newServer() is fully implemented.

Definition at line 27 of file admin_enabled.cpp.

std::auto_ptr< GSmtp::AdminServer > Main::Admin::newServer ( const Configuration cfg,
GSmtp::MessageStore store,
const GSmtp::Client::Config client_config,
const GSmtp::Secrets client_secrets,
const std::string &  version_number 
) [static]

void Main::Admin::notify ( GSmtp::AdminServer server,
const std::string &  p1,
const std::string &  p2,
const std::string &  p3 
) [static]

Calls notify() on the given server.

Definition at line 70 of file admin_enabled.cpp.

References GSmtp::AdminServer::notify().

void Main::Admin::report ( const GSmtp::AdminServer server  )  [static]

Calls report() on the given server.

Definition at line 76 of file admin_enabled.cpp.

References GSmtp::AdminServer::report().


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

Generated on Fri Apr 18 15:56:14 2008 for E-MailRelay by  doxygen 1.5.5