LibreOffice Module ucbhelper (master)  1
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
ucbhelper::proxydecider_impl::InternetProxyDecider_Impl Class Reference
Inheritance diagram for ucbhelper::proxydecider_impl::InternetProxyDecider_Impl:
[legend]
Collaboration diagram for ucbhelper::proxydecider_impl::InternetProxyDecider_Impl:
[legend]

Public Member Functions

 InternetProxyDecider_Impl (const uno::Reference< uno::XComponentContext > &rxContext)
 
void dispose ()
 
InternetProxyServer getProxy (const OUString &rProtocol, const OUString &rHost, sal_Int32 nPort) const
 
virtual void SAL_CALL changesOccurred (const util::ChangesEvent &Event) override
 
virtual void SAL_CALL disposing (const lang::EventObject &Source) override
 

Private Types

enum  ProxyType {
  ProxyType::NoProxy,
  ProxyType::Automatic,
  ProxyType::Manual
}
 
typedef std::pair< WildCard, WildCardNoProxyListEntry
 

Private Member Functions

bool shouldUseProxy (const OUString &rHost, sal_Int32 nPort, bool bUseFullyQualified) const
 
void setNoProxyList (const OUString &rNoProxyList)
 

Private Attributes

osl::Mutex m_aMutex
 
InternetProxyServer m_aHttpProxy
 
InternetProxyServer m_aHttpsProxy
 
InternetProxyServer m_aFtpProxy
 
const InternetProxyServer m_aEmptyProxy
 
ProxyType m_nProxyType
 
uno::Reference< util::XChangesNotifier > m_xNotifier
 
std::vector< NoProxyListEntrym_aNoProxyList
 
HostnameCache m_aHostnames
 

Detailed Description

Definition at line 122 of file proxydecider.cxx.

Member Typedef Documentation

Definition at line 134 of file proxydecider.cxx.

Member Enumeration Documentation

Enumerator
NoProxy 
Automatic 
Manual 

Definition at line 126 of file proxydecider.cxx.

Constructor & Destructor Documentation

ucbhelper::proxydecider_impl::InternetProxyDecider_Impl::InternetProxyDecider_Impl ( const uno::Reference< uno::XComponentContext > &  rxContext)
explicit

Member Function Documentation

void SAL_CALL ucbhelper::proxydecider_impl::InternetProxyDecider_Impl::changesOccurred ( const util::ChangesEvent &  Event)
overridevirtual
void ucbhelper::proxydecider_impl::InternetProxyDecider_Impl::dispose ( void  )

Definition at line 385 of file proxydecider.cxx.

References m_aMutex, and m_xNotifier.

void SAL_CALL ucbhelper::proxydecider_impl::InternetProxyDecider_Impl::disposing ( const lang::EventObject &  Source)
overridevirtual

Definition at line 803 of file proxydecider.cxx.

References m_aMutex, and m_xNotifier.

InternetProxyServer ucbhelper::proxydecider_impl::InternetProxyDecider_Impl::getProxy ( const OUString &  rProtocol,
const OUString &  rHost,
sal_Int32  nPort 
) const
void ucbhelper::proxydecider_impl::InternetProxyDecider_Impl::setNoProxyList ( const OUString &  rNoProxyList)
private

Definition at line 815 of file proxydecider.cxx.

References m_aMutex, m_aNoProxyList, and nPos.

Referenced by changesOccurred(), and InternetProxyDecider_Impl().

bool ucbhelper::proxydecider_impl::InternetProxyDecider_Impl::shouldUseProxy ( const OUString &  rHost,
sal_Int32  nPort,
bool  bUseFullyQualified 
) const
private

Definition at line 406 of file proxydecider.cxx.

References aBuffer, and m_aNoProxyList.

Referenced by getProxy().

Member Data Documentation

const InternetProxyServer ucbhelper::proxydecider_impl::InternetProxyDecider_Impl::m_aEmptyProxy
private

Definition at line 131 of file proxydecider.cxx.

Referenced by getProxy().

InternetProxyServer ucbhelper::proxydecider_impl::InternetProxyDecider_Impl::m_aFtpProxy
private

Definition at line 130 of file proxydecider.cxx.

Referenced by changesOccurred(), getProxy(), and InternetProxyDecider_Impl().

HostnameCache ucbhelper::proxydecider_impl::InternetProxyDecider_Impl::m_aHostnames
mutableprivate

Definition at line 136 of file proxydecider.cxx.

Referenced by getProxy().

InternetProxyServer ucbhelper::proxydecider_impl::InternetProxyDecider_Impl::m_aHttpProxy
private

Definition at line 128 of file proxydecider.cxx.

Referenced by changesOccurred(), getProxy(), and InternetProxyDecider_Impl().

InternetProxyServer ucbhelper::proxydecider_impl::InternetProxyDecider_Impl::m_aHttpsProxy
private

Definition at line 129 of file proxydecider.cxx.

Referenced by changesOccurred(), getProxy(), and InternetProxyDecider_Impl().

osl::Mutex ucbhelper::proxydecider_impl::InternetProxyDecider_Impl::m_aMutex
mutableprivate

Definition at line 127 of file proxydecider.cxx.

Referenced by changesOccurred(), dispose(), disposing(), getProxy(), and setNoProxyList().

std::vector< NoProxyListEntry > ucbhelper::proxydecider_impl::InternetProxyDecider_Impl::m_aNoProxyList
private

Definition at line 135 of file proxydecider.cxx.

Referenced by getProxy(), setNoProxyList(), and shouldUseProxy().

ProxyType ucbhelper::proxydecider_impl::InternetProxyDecider_Impl::m_nProxyType
private

Definition at line 132 of file proxydecider.cxx.

Referenced by changesOccurred(), getProxy(), and InternetProxyDecider_Impl().

uno::Reference< util::XChangesNotifier > ucbhelper::proxydecider_impl::InternetProxyDecider_Impl::m_xNotifier
private

Definition at line 133 of file proxydecider.cxx.

Referenced by dispose(), disposing(), and InternetProxyDecider_Impl().


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