LibreOffice Module ucb (master) 1
Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
http_dav_ucp::DAVSessionFactory Class Reference

#include <DAVSessionFactory.hxx>

Inheritance diagram for http_dav_ucp::DAVSessionFactory:
Collaboration diagram for http_dav_ucp::DAVSessionFactory:

Public Member Functions

virtual ~DAVSessionFactory () override
rtl::Reference< DAVSessioncreateDAVSession (const OUString &inUri, const ::com::sun::star::uno::Sequence<::com::sun::star::beans::NamedValue > &rFlags, const css::uno::Reference< css::uno::XComponentContext > &rxContext)
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
void acquire ()
void release ()

Private Types

typedef std::map< OUString, DAVSession * > Map

Private Member Functions

void releaseElement (const DAVSession *pElement)

Private Attributes

Map m_aMap
std::mutex m_aMutex
std::unique_ptr< ucbhelper::InternetProxyDeciderm_xProxyDecider


class DAVSession

Additional Inherited Members

- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
static void * operator new (std::size_t nSize, std::nothrow_t const &rNothrow)
static void operator delete (void *pPtr)
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount

Detailed Description

Definition at line 49 of file DAVSessionFactory.hxx.

Member Typedef Documentation

◆ Map

Definition at line 61 of file DAVSessionFactory.hxx.

Constructor & Destructor Documentation

◆ ~DAVSessionFactory()

DAVSessionFactory::~DAVSessionFactory ( )

Definition at line 28 of file DAVSessionFactory.cxx.

Member Function Documentation

◆ createDAVSession()

rtl::Reference< DAVSession > DAVSessionFactory::createDAVSession ( const OUString &  inUri,
const ::com::sun::star::uno::Sequence<::com::sun::star::beans::NamedValue > &  rFlags,
const css::uno::Reference< css::uno::XComponentContext > &  rxContext 

Definition at line 32 of file DAVSessionFactory.cxx.

References m_aMap, m_aMutex, and m_xProxyDecider.

◆ releaseElement()

void DAVSessionFactory::releaseElement ( const DAVSession pElement)

Definition at line 73 of file DAVSessionFactory.cxx.

References http_dav_ucp::DAVSession::m_aContainerIt, m_aMap, and m_aMutex.

Friends And Related Function Documentation

◆ DAVSession

friend class DAVSession

Definition at line 69 of file DAVSessionFactory.hxx.

Member Data Documentation

◆ m_aMap

Map http_dav_ucp::DAVSessionFactory::m_aMap

Definition at line 63 of file DAVSessionFactory.hxx.

Referenced by createDAVSession(), and releaseElement().

◆ m_aMutex

std::mutex http_dav_ucp::DAVSessionFactory::m_aMutex

Definition at line 64 of file DAVSessionFactory.hxx.

Referenced by createDAVSession(), and releaseElement().

◆ m_xProxyDecider

std::unique_ptr<ucbhelper::InternetProxyDecider> http_dav_ucp::DAVSessionFactory::m_xProxyDecider

Definition at line 65 of file DAVSessionFactory.hxx.

Referenced by createDAVSession().

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