te::core::Proxy Class Reference

#include <Proxy.h>

Public Member Functions

const te::core::ProxyInfogetAuthenticatedProxyInfo () const
 Gets the current proxy info. More...
 
const te::core::ProxyInfogetProxyInfo () const
 Gets the current proxy info. More...
 
void resetAuthentication ()
 Resets the authentication information (userName and password). More...
 
void setAuthenticationHandler (ProxyAuthenticationHandler *proxyAuthenticationHandler)
 Sets the authentication handler to be used by proxy. More...
 
void setProxyInfo (const te::core::ProxyInfo &proxyInfo)
 Sets the proxy info to be used. More...
 

Static Public Member Functions

static Proxyinstance ()
 It returns a reference to the singleton instance. More...
 

Protected Member Functions

 Proxy ()
 Default constructor. More...
 
 Proxy (const Proxy &&other)=delete
 Move constructor. More...
 
 Proxy (const Proxy &other)=delete
 Copy constructor. More...
 
 ~Proxy ()
 

Protected Attributes

te::core::ProxyAuthenticationHandlerm_proxyAuthenticationHandler
 
te::core::ProxyInfo m_proxyInfo
 

Detailed Description

Definition at line 53 of file Proxy.h.

Constructor & Destructor Documentation

◆ Proxy() [1/3]

te::core::Proxy::Proxy ( )
protected

Default constructor.

◆ ~Proxy()

te::core::Proxy::~Proxy ( )
protected

Default destructor.

◆ Proxy() [2/3]

te::core::Proxy::Proxy ( const Proxy other)
protecteddelete

Copy constructor.

◆ Proxy() [3/3]

te::core::Proxy::Proxy ( const Proxy &&  other)
protecteddelete

Move constructor.

Member Function Documentation

◆ getAuthenticatedProxyInfo()

const te::core::ProxyInfo& te::core::Proxy::getAuthenticatedProxyInfo ( ) const

Gets the current proxy info.

◆ getProxyInfo()

const te::core::ProxyInfo& te::core::Proxy::getProxyInfo ( ) const

Gets the current proxy info.

◆ instance()

static Proxy& te::core::Proxy::instance ( )
static

It returns a reference to the singleton instance.

Returns
A reference to the singleton instance.

◆ resetAuthentication()

void te::core::Proxy::resetAuthentication ( )

Resets the authentication information (userName and password).

◆ setAuthenticationHandler()

void te::core::Proxy::setAuthenticationHandler ( ProxyAuthenticationHandler proxyAuthenticationHandler)

Sets the authentication handler to be used by proxy.

◆ setProxyInfo()

void te::core::Proxy::setProxyInfo ( const te::core::ProxyInfo proxyInfo)

Sets the proxy info to be used.

Member Data Documentation

◆ m_proxyAuthenticationHandler

te::core::ProxyAuthenticationHandler* te::core::Proxy::m_proxyAuthenticationHandler
protected

Definition at line 95 of file Proxy.h.

◆ m_proxyInfo

te::core::ProxyInfo te::core::Proxy::m_proxyInfo
mutableprotected

Definition at line 96 of file Proxy.h.


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