A factory class for creating GSmtp::AdminServer objects. More...
#include <admin.h>
Static Public Member Functions | |
static bool | enabled () |
Returns true if newServer() is fully implemented. More... | |
static std::auto_ptr < GSmtp::AdminServer > | newServer (const Configuration &, GSmtp::MessageStore &store, const GSmtp::Client::Config &, const GAuth::Secrets &client_secrets, const std::string &version_number) |
A factory function for creating a new GSmtp::AdminServer instance on the heap. More... | |
static void | notify (GSmtp::AdminServer &server, const std::string &, const std::string &, const std::string &) |
Calls notify() on the given server. More... | |
static void | report (const GSmtp::AdminServer &server) |
Calls report() on the given server. More... | |
A factory class for creating GSmtp::AdminServer objects.
|
static |
Returns true if newServer() is fully implemented.
Definition at line 27 of file admin_enabled.cpp.
|
static |
A factory function for creating a new GSmtp::AdminServer instance on the heap.
Definition at line 32 of file admin_enabled.cpp.
References GNet::MultiServer::addressList(), Main::Configuration::adminPort(), Main::Configuration::allowRemoteClients(), Main::Configuration::clientInterface(), Main::Configuration::connectionTimeout(), Main::Legal::copyright(), GSsl::Library::credit(), Main::Configuration::listeningInterfaces(), Main::Configuration::serverAddress(), Main::Legal::warranty(), and Main::Configuration::withTerminate().
|
static |
Calls notify() on the given server.
Definition at line 65 of file admin_enabled.cpp.
References GSmtp::AdminServer::notify().
|
static |
Calls report() on the given server.
Definition at line 71 of file admin_enabled.cpp.
References GSmtp::AdminServer::report().