Davix::Context Class Reference

Main handle for Davix. More...

#include <davixcontext.hpp>

Public Member Functions

 Context ()
 Default constructor.
 Context (const Context &c)
 copy constructor
Contextoperator= (const Context &c)
 assignment operator
virtual ~Context ()
 destructor
Contextclone ()
 clone this instance to a new context dynamically allocated,
void loadModule (const std::string &name)
 load a plugin or a profile identified by name
void setSessionCaching (bool caching)
 enable or disable the session caching
bool getSessionCaching () const
 get session caching status
HttpRequestcreateRequest (const Uri &uri, DavixError **err)
HttpRequestcreateRequest (const std::string &url, DavixError **err)
DavPosixcreateDavPosix ()

Friends

class DavPosix
struct ContextExplorer

Detailed Description

Main handle for Davix.

Each new davix context contains its own session-reuse pool and set of parameters a Context can execute multiple queries in parallels and is thread safe


Constructor & Destructor Documentation

Davix::Context::Context ( const Context c  ) 

copy constructor

Parameters:
c 

Member Function Documentation

DavPosix* Davix::Context::createDavPosix (  ) 
HttpRequest* Davix::Context::createRequest ( const std::string &  url,
DavixError **  err 
)
HttpRequest* Davix::Context::createRequest ( const Uri uri,
DavixError **  err 
)
void Davix::Context::loadModule ( const std::string &  name  ) 

load a plugin or a profile identified by name

Parameters:
name : name of the plugin or profile to load

Example: loadModule("grid") configure davix for a grid environment usage

Context& Davix::Context::operator= ( const Context c  ) 

assignment operator

Parameters:
c 
Returns:

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

Generated on 12 Aug 2014 for davix by  doxygen 1.6.1