31 bool pop_by_name ,
bool allow_delete )
33 return std::make_unique<Store>( spool_dir , pop_by_name , allow_delete ) ;
36std::unique_ptr<GAuth::SaslServerSecrets>
GPop::newSecrets(
const std::string & path )
44 return std::make_unique<Server>( es , store , secrets , config ) ;
47void GPop::report(
const Server * server ,
const std::string & group )
50 server->report( group ) ;
An interface used by GAuth::SaslServer to obtain authentication secrets.
static std::unique_ptr< SaslServerSecrets > newServerSecrets(const std::string &spec, const std::string &log_name)
Factory function for server secrets.
A tuple containing an ExceptionHandler interface pointer and a bound 'exception source' pointer.
A Path object represents a file system path.
std::unique_ptr< Server > newServer(GNet::ExceptionSink, Store &, const GAuth::SaslServerSecrets &, const Server::Config &)
Creates a new server.
std::unique_ptr< GAuth::SaslServerSecrets > newSecrets(const std::string &path)
Creates a new SaslServerSecrets for newStore().
bool enabled() noexcept
Returns true if pop code is built in.
std::unique_ptr< Store > newStore(const G::Path &spool_dir, bool pop_by_name, bool allow_delete)
Creates a new Pop::Store.
void report(const Server *, const std::string &group={})
Calls GPop::Server::report().