LibreOffice Module ucb (master)  1
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | Friends | List of all members
http_dav_ucp::DAVSession Class Referenceabstract

#include <DAVSession.hxx>

Inheritance diagram for http_dav_ucp::DAVSession:
[legend]
Collaboration diagram for http_dav_ucp::DAVSession:
[legend]

Public Member Functions

void acquire ()
 
void release ()
 
virtual bool CanUse (const OUString &inPath)=0
 
virtual bool UsesProxy ()=0
 
virtual void PROPFIND (const OUString &inPath, const Depth inDepth, const std::vector< OUString > &inPropertyNames, std::vector< DAVResource > &ioResources, const DAVRequestEnvironment &rEnv)=0
 
virtual void PROPFIND (const OUString &inPath, const Depth inDepth, std::vector< DAVResourceInfo > &ioResInfo, const DAVRequestEnvironment &rEnv)=0
 
virtual void PROPPATCH (const OUString &inPath, const std::vector< ProppatchValue > &inValues, const DAVRequestEnvironment &rEnv)=0
 
virtual void HEAD (const OUString &inPath, const std::vector< OUString > &inHeaderNames, DAVResource &ioResource, const DAVRequestEnvironment &rEnv)=0
 
virtual css::uno::Reference< css::io::XInputStream > GET (const OUString &inPath, const DAVRequestEnvironment &rEnv)=0
 
virtual void GET (const OUString &inPath, css::uno::Reference< css::io::XOutputStream > &o, const DAVRequestEnvironment &rEnv)=0
 
virtual css::uno::Reference< css::io::XInputStream > GET (const OUString &inPath, const std::vector< OUString > &inHeaderNames, DAVResource &ioResource, const DAVRequestEnvironment &rEnv)=0
 
virtual void GET (const OUString &inPath, css::uno::Reference< css::io::XOutputStream > &o, const std::vector< OUString > &inHeaderNames, DAVResource &ioResource, const DAVRequestEnvironment &rEnv)=0
 
virtual void PUT (const OUString &inPath, const css::uno::Reference< css::io::XInputStream > &s, const DAVRequestEnvironment &rEnv)=0
 
virtual css::uno::Reference< css::io::XInputStream > POST (const OUString &inPath, const OUString &rContentType, const OUString &rReferer, const css::uno::Reference< css::io::XInputStream > &inInputStream, const DAVRequestEnvironment &rEnv)=0
 
virtual void POST (const OUString &inPath, const OUString &rContentType, const OUString &rReferer, const css::uno::Reference< css::io::XInputStream > &inInputStream, css::uno::Reference< css::io::XOutputStream > &oOutputStream, const DAVRequestEnvironment &rEnv)=0
 
virtual void MKCOL (const OUString &inPath, const DAVRequestEnvironment &rEnv)=0
 
virtual void COPY (const OUString &inSource, const OUString &inDestination, const DAVRequestEnvironment &rEnv, bool inOverwrite=false)=0
 
virtual void MOVE (const OUString &inSource, const OUString &inDestination, const DAVRequestEnvironment &rEnv, bool inOverwrite=false)=0
 
virtual void DESTROY (const OUString &inPath, const DAVRequestEnvironment &rEnv)=0
 
virtual void LOCK (const OUString &inPath, css::ucb::Lock &inLock, const DAVRequestEnvironment &rEnv)=0
 
virtual sal_Int64 LOCK (const OUString &inPath, sal_Int64 nTimeout, const DAVRequestEnvironment &rEnv)=0
 
virtual void UNLOCK (const OUString &inPath, const DAVRequestEnvironment &rEnv)=0
 
virtual void abort ()=0
 

Protected Member Functions

 DAVSession (rtl::Reference< DAVSessionFactory > const &rFactory)
 
virtual ~DAVSession ()
 

Protected Attributes

rtl::Reference< DAVSessionFactorym_xFactory
 

Private Attributes

DAVSessionFactory::Map::iterator m_aContainerIt
 
oslInterlockedCount m_nRefCount
 

Friends

class DAVSessionFactory
 
struct std::default_delete< DAVSession >
 

Detailed Description

Definition at line 44 of file DAVSession.hxx.

Constructor & Destructor Documentation

http_dav_ucp::DAVSession::DAVSession ( rtl::Reference< DAVSessionFactory > const &  rFactory)
inlineexplicitprotected

Definition at line 190 of file DAVSession.hxx.

virtual http_dav_ucp::DAVSession::~DAVSession ( )
inlineprotectedvirtual

Definition at line 193 of file DAVSession.hxx.

Member Function Documentation

virtual void http_dav_ucp::DAVSession::abort ( )
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::SerfSession.

void http_dav_ucp::DAVSession::acquire ( )
inline

Definition at line 47 of file DAVSession.hxx.

References m_nRefCount.

virtual bool http_dav_ucp::DAVSession::CanUse ( const OUString &  inPath)
pure virtual

Implemented in http_dav_ucp::SerfSession.

virtual void http_dav_ucp::DAVSession::COPY ( const OUString &  inSource,
const OUString &  inDestination,
const DAVRequestEnvironment rEnv,
bool  inOverwrite = false 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::SerfSession.

virtual void http_dav_ucp::DAVSession::DESTROY ( const OUString &  inPath,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::SerfSession.

virtual css::uno::Reference< css::io::XInputStream > http_dav_ucp::DAVSession::GET ( const OUString &  inPath,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::SerfSession.

virtual void http_dav_ucp::DAVSession::GET ( const OUString &  inPath,
css::uno::Reference< css::io::XOutputStream > &  o,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::SerfSession.

virtual css::uno::Reference< css::io::XInputStream > http_dav_ucp::DAVSession::GET ( const OUString &  inPath,
const std::vector< OUString > &  inHeaderNames,
DAVResource ioResource,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::SerfSession.

virtual void http_dav_ucp::DAVSession::GET ( const OUString &  inPath,
css::uno::Reference< css::io::XOutputStream > &  o,
const std::vector< OUString > &  inHeaderNames,
DAVResource ioResource,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::SerfSession.

virtual void http_dav_ucp::DAVSession::HEAD ( const OUString &  inPath,
const std::vector< OUString > &  inHeaderNames,
DAVResource ioResource,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::SerfSession.

virtual void http_dav_ucp::DAVSession::LOCK ( const OUString &  inPath,
css::ucb::Lock &  inLock,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::SerfSession.

virtual sal_Int64 http_dav_ucp::DAVSession::LOCK ( const OUString &  inPath,
sal_Int64  nTimeout,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::SerfSession.

virtual void http_dav_ucp::DAVSession::MKCOL ( const OUString &  inPath,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::SerfSession.

virtual void http_dav_ucp::DAVSession::MOVE ( const OUString &  inSource,
const OUString &  inDestination,
const DAVRequestEnvironment rEnv,
bool  inOverwrite = false 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::SerfSession.

virtual css::uno::Reference< css::io::XInputStream > http_dav_ucp::DAVSession::POST ( const OUString &  inPath,
const OUString &  rContentType,
const OUString &  rReferer,
const css::uno::Reference< css::io::XInputStream > &  inInputStream,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::SerfSession.

virtual void http_dav_ucp::DAVSession::POST ( const OUString &  inPath,
const OUString &  rContentType,
const OUString &  rReferer,
const css::uno::Reference< css::io::XInputStream > &  inInputStream,
css::uno::Reference< css::io::XOutputStream > &  oOutputStream,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::SerfSession.

virtual void http_dav_ucp::DAVSession::PROPFIND ( const OUString &  inPath,
const Depth  inDepth,
const std::vector< OUString > &  inPropertyNames,
std::vector< DAVResource > &  ioResources,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::SerfSession.

virtual void http_dav_ucp::DAVSession::PROPFIND ( const OUString &  inPath,
const Depth  inDepth,
std::vector< DAVResourceInfo > &  ioResInfo,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::SerfSession.

virtual void http_dav_ucp::DAVSession::PROPPATCH ( const OUString &  inPath,
const std::vector< ProppatchValue > &  inValues,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::SerfSession.

virtual void http_dav_ucp::DAVSession::PUT ( const OUString &  inPath,
const css::uno::Reference< css::io::XInputStream > &  s,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::SerfSession.

void http_dav_ucp::DAVSession::release ( )
inline

Definition at line 52 of file DAVSession.hxx.

References m_nRefCount, and m_xFactory.

virtual void http_dav_ucp::DAVSession::UNLOCK ( const OUString &  inPath,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::SerfSession.

virtual bool http_dav_ucp::DAVSession::UsesProxy ( )
pure virtual

Implemented in http_dav_ucp::SerfSession.

Friends And Related Function Documentation

friend class DAVSessionFactory
friend

Definition at line 199 of file DAVSession.hxx.

friend struct std::default_delete< DAVSession >
friend

Definition at line 200 of file DAVSession.hxx.

Member Data Documentation

DAVSessionFactory::Map::iterator http_dav_ucp::DAVSession::m_aContainerIt
private

Definition at line 196 of file DAVSession.hxx.

Referenced by http_dav_ucp::DAVSessionFactory::releaseElement().

oslInterlockedCount http_dav_ucp::DAVSession::m_nRefCount
private

Definition at line 197 of file DAVSession.hxx.

Referenced by acquire(), and release().

rtl::Reference< DAVSessionFactory > http_dav_ucp::DAVSession::m_xFactory
protected

Definition at line 188 of file DAVSession.hxx.

Referenced by release().


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