Mantid
|
ProxyInfo : Container for carrying around network proxy information. More...
#include <ProxyInfo.h>
Public Member Functions | |
bool | emptyProxy () const |
std::string | host () const |
Host url. More... | |
bool | isHttpProxy () const |
Is this a http proxy. More... | |
int | port () const |
Port Number. More... | |
ProxyInfo () | |
Constructor. More... | |
ProxyInfo (const std::string &host, const int port, const bool isHttpProxy) | |
Proxy information constructor. More... | |
virtual | ~ProxyInfo ()=default |
Private Attributes | |
std::string | m_host |
bool | m_isEmptyProxy |
bool | m_isHttpProxy |
int | m_port |
ProxyInfo : Container for carrying around network proxy information.
Definition at line 17 of file ProxyInfo.h.
|
virtualdefault |
Mantid::Kernel::ProxyInfo::ProxyInfo | ( | ) |
Constructor.
Definition at line 15 of file ProxyInfo.cpp.
Mantid::Kernel::ProxyInfo::ProxyInfo | ( | const std::string & | host, |
const int | port, | ||
const bool | isHttpProxy | ||
) |
Proxy information constructor.
host | : host url |
port | : port number |
isHttpProxy | : is this a http proxy |
Definition at line 23 of file ProxyInfo.cpp.
References host(), m_isEmptyProxy, and port().
bool Mantid::Kernel::ProxyInfo::emptyProxy | ( | ) | const |
Definition at line 62 of file ProxyInfo.cpp.
References m_isEmptyProxy.
std::string Mantid::Kernel::ProxyInfo::host | ( | ) | const |
Host url.
Definition at line 34 of file ProxyInfo.cpp.
References m_host, and m_isEmptyProxy.
Referenced by ProxyInfo().
bool Mantid::Kernel::ProxyInfo::isHttpProxy | ( | ) | const |
Is this a http proxy.
Definition at line 56 of file ProxyInfo.cpp.
References m_isHttpProxy.
int Mantid::Kernel::ProxyInfo::port | ( | ) | const |
Port Number.
Definition at line 45 of file ProxyInfo.cpp.
References m_isEmptyProxy, and m_port.
Referenced by ProxyInfo().
|
private |
Definition at line 19 of file ProxyInfo.h.
Referenced by host().
|
private |
Definition at line 22 of file ProxyInfo.h.
Referenced by emptyProxy(), host(), port(), and ProxyInfo().
|
private |
Definition at line 21 of file ProxyInfo.h.
Referenced by isHttpProxy().
|
private |
Definition at line 20 of file ProxyInfo.h.
Referenced by port().