24class GSmtp::AdminServerImp
48 throw NotImplemented() ;
61 throw NotImplemented() ;
66 throw NotImplemented() ;
71 throw NotImplemented() ;
An interface used by GAuth::SaslClient to obtain a client id and its authentication secret.
A lightweight object containing an ExceptionHandler pointer, optional ExceptionSource pointer and opt...
static bool enabled()
Returns true if the server is enabled.
~AdminServer()
Destructor.
G::Slot::Signal< Command, unsigned int > & commandSignal()
Returns a reference to a signal that is emit()ted when the remote user makes a request.
void report(const std::string &group={}) const
Generates helpful diagnostics.
AdminServer(GNet::EventState, GStore::MessageStore &store, FilterFactoryBase &, const GAuth::SaslClientSecrets &client_secrets, const G::StringArray &interfaces, const Config &config)
Constructor.
void emitCommand(Command, unsigned int)
Emits an asynchronous event on the commandSignal().
void notify(const std::string &s0, const std::string &s1, const std::string &s2, const std::string &s3)
Called when something happens which the admin users might be interested in.
GStore::MessageStore & store()
Returns a reference to the message store, as passed in to the constructor.
FilterFactoryBase & ff()
Returns a reference to the filter factory, as passed in to the constructor.
const GAuth::SaslClientSecrets & clientSecrets() const
Returns a reference to the client secrets object, as passed in to the constructor.
bool notifying() const
Returns true if the remote user has asked for notifications.
A factory interface for making GSmtp::Filter message processors.
A class which allows SMTP messages to be stored and retrieved.
std::vector< std::string > StringArray
A std::vector of std::strings.
A configuration structure for GSmtp::AdminServer.
A slot holder, with connect() and emit() methods.