KVIrc  4.9.2
DeveloperAPIs
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
KviProxy Class Reference

#include <KviProxy.h>

Public Types

enum  Protocol { Socks4, Socks5, Http }
 

Public Member Functions

bool hasPass () const
 
bool hasUser () const
 
const QString & hostName () const
 
const QString & ip () const
 
bool isIPv6 () const
 
 KviProxy ()
 
 KviProxy (const KviProxy &prx)
 
void normalizeUserAndPass ()
 
const QString & pass () const
 
unsigned int passLen () const
 
kvi_u32_t port () const
 
Protocol protocol () const
 
const QString protocolName () const
 
void setHostname (const QString &h)
 
void setIp (const QString &i)
 
void setIPv6 (bool b)
 
void setNamedProtocol (const char *proto)
 
void setPass (const QString &p)
 
void setPort (kvi_u32_t &p)
 
void setProtocol (Protocol p)
 
void setUser (const QString &u)
 
const QString & user () const
 
unsigned int userLen () const
 
 ~KviProxy ()
 

Static Public Member Functions

static void getSupportedProtocolNames (QStringList &buf)
 

Public Attributes

bool m_bIsIPv6
 
Protocol m_protocol
 
QString m_szHostname
 
QString m_szIp
 
QString m_szPass
 
QString m_szUser
 
kvi_u32_t m_uPort
 

Member Enumeration Documentation

Enumerator
Socks4 
Socks5 
Http 

Constructor & Destructor Documentation

KviProxy::KviProxy ( )
KviProxy::KviProxy ( const KviProxy prx)
KviProxy::~KviProxy ( )
default

Member Function Documentation

void KviProxy::getSupportedProtocolNames ( QStringList &  buf)
static
bool KviProxy::hasPass ( ) const
inline
bool KviProxy::hasUser ( ) const
inline
const QString& KviProxy::hostName ( ) const
inline
const QString& KviProxy::ip ( ) const
inline
bool KviProxy::isIPv6 ( ) const
inline
void KviProxy::normalizeUserAndPass ( )
const QString& KviProxy::pass ( ) const
inline
unsigned int KviProxy::passLen ( ) const
inline
kvi_u32_t KviProxy::port ( ) const
inline
Protocol KviProxy::protocol ( ) const
inline
const QString KviProxy::protocolName ( ) const
void KviProxy::setHostname ( const QString &  h)
inline
void KviProxy::setIp ( const QString &  i)
inline
void KviProxy::setIPv6 ( bool  b)
inline
void KviProxy::setNamedProtocol ( const char *  proto)
void KviProxy::setPass ( const QString &  p)
inline

References p.

Referenced by proxydb_kvs_cmd_addProxy().

void KviProxy::setPort ( kvi_u32_t &  p)
inline

References p.

Referenced by proxydb_kvs_cmd_addProxy(), and proxydb_kvs_cmd_setPort().

void KviProxy::setProtocol ( Protocol  p)
inline
void KviProxy::setUser ( const QString &  u)
inline

References u.

Referenced by proxydb_kvs_cmd_addProxy().

const QString& KviProxy::user ( ) const
inline
unsigned int KviProxy::userLen ( ) const
inline

Member Data Documentation

bool KviProxy::m_bIsIPv6
Protocol KviProxy::m_protocol
QString KviProxy::m_szHostname
QString KviProxy::m_szIp
QString KviProxy::m_szPass
QString KviProxy::m_szUser
kvi_u32_t KviProxy::m_uPort

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