27 #ifndef UTILS_DAVIXPOOL_H 28 #define UTILS_DAVIXPOOL_H 32 #include <bsm/audit_errno.h> 39 #include "utils/Config.hh" 41 #include <davix/davix.hpp> 51 ctx =
new Davix::Context();
52 parms =
new Davix::RequestParams(params);
77 void configure(
const std::string &key,
const std::string &value);
78 void setRequestParams(
const Davix::RequestParams ¶ms);
Convenience class that releases a resource on destruction.
Definition: poolcontainer.h:206
Implements a pool of whichever resource.
Definition: poolcontainer.h:38
Davix::RequestParams * parms
Definition: DavixPool.h:63
DavixStuff(Davix::RequestParams params)
Definition: DavixPool.h:50
Definition: DavixPool.h:48
~DavixStuff()
Definition: DavixPool.h:55
Davix::RequestParams params_
Definition: DavixPool.h:81
Logger::bitmask davixpoollogmask
Definition: DavixPool.h:69
Definition: DavixPool.h:87
unsigned long long bitmask
typedef for a bitmask (long long)
Definition: logger.h:40
Definition: DavixPool.h:94
DavixCtxPool(PoolElementFactory< DavixStuff *> *factory, int n)
Definition: DavixPool.h:89
std::string component
typedef for a component name (std:string)
Definition: logger.h:42
Davix::Context * ctx
Definition: DavixPool.h:62
Logger::component davixpoollogname
std::string davix_cert_path
Definition: DavixPool.h:83
std::string davix_privkey_path
Definition: DavixPool.h:84
DavixGrabber(DavixCtxPool &pool, bool block=true)
Definition: DavixPool.h:96
Namespace for the dmlite C++ API.
Definition: authn.h:15
Definition: poolcontainer.h:20