KVIrc  4.9.2
DeveloperAPIs
Public Types | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
KviIrcConnectionTargetResolver Class Reference

#include <KviIrcConnectionTargetResolver.h>

+ Inheritance diagram for KviIrcConnectionTargetResolver:

Public Types

enum  State { Idle, Running, Terminated }
 
enum  Status { Success, Error }
 

Signals

void terminated ()
 

Public Member Functions

void abort ()
 
int lastError ()
 
void start (KviIrcConnectionTarget *t)
 
Status status ()
 

Protected Slots

void asyncStartResolve ()
 
void proxyLookupTerminated (KviDnsResolver *)
 
void serverLookupTerminated (KviDnsResolver *)
 

Protected Member Functions

 KviIrcConnectionTargetResolver (KviIrcConnection *pConnection)
 
 ~KviIrcConnectionTargetResolver ()
 

Private Member Functions

void cleanup ()
 
void haveServerIp ()
 
void lookupProxyHostname ()
 
void lookupServerHostname ()
 
void terminate (Status s, int iLastError)
 
bool validateLocalAddress (const QString &szAddress, QString &szBuffer)
 

Private Attributes

State m_eState
 
Status m_eStatus
 
int m_iLastError
 
KviIrcConnectionm_pConnection
 
KviConsoleWindowm_pConsole
 
KviDnsResolverm_pProxyDns
 
char * m_pReadBuffer
 
KviDnsResolverm_pServerDns
 
QTimer * m_pStartTimer
 
KviIrcConnectionTargetm_pTarget
 
unsigned int m_uReadBufferLen
 
unsigned int m_uReadPackets
 

Friends

class KviIrcLink
 

Member Enumeration Documentation

Enumerator
Idle 
Running 
Terminated 
Enumerator
Success 
Error 

Constructor & Destructor Documentation

KviIrcConnectionTargetResolver::KviIrcConnectionTargetResolver ( KviIrcConnection pConnection)
protected
KviIrcConnectionTargetResolver::~KviIrcConnectionTargetResolver ( )
protected

References cleanup().

Member Function Documentation

void KviIrcConnectionTargetResolver::abort ( )
void KviIrcConnectionTargetResolver::asyncStartResolve ( )
protectedslot
void KviIrcConnectionTargetResolver::cleanup ( )
private
void KviIrcConnectionTargetResolver::haveServerIp ( )
private
int KviIrcConnectionTargetResolver::lastError ( )
inline
void KviIrcConnectionTargetResolver::lookupProxyHostname ( )
private
void KviIrcConnectionTargetResolver::lookupServerHostname ( )
private
void KviIrcConnectionTargetResolver::proxyLookupTerminated ( KviDnsResolver )
protectedslot
void KviIrcConnectionTargetResolver::serverLookupTerminated ( KviDnsResolver )
protectedslot
void KviIrcConnectionTargetResolver::start ( KviIrcConnectionTarget t)
Status KviIrcConnectionTargetResolver::status ( )
inline
void KviIrcConnectionTargetResolver::terminate ( Status  s,
int  iLastError 
)
private
void KviIrcConnectionTargetResolver::terminated ( )
signal

Referenced by terminate().

bool KviIrcConnectionTargetResolver::validateLocalAddress ( const QString &  szAddress,
QString &  szBuffer 
)
private

Friends And Related Function Documentation

friend class KviIrcLink
friend

Member Data Documentation

State KviIrcConnectionTargetResolver::m_eState
private
Status KviIrcConnectionTargetResolver::m_eStatus
private
int KviIrcConnectionTargetResolver::m_iLastError
private
KviIrcConnection* KviIrcConnectionTargetResolver::m_pConnection
private
KviConsoleWindow* KviIrcConnectionTargetResolver::m_pConsole
private
KviDnsResolver* KviIrcConnectionTargetResolver::m_pProxyDns
private
char* KviIrcConnectionTargetResolver::m_pReadBuffer
private
KviDnsResolver* KviIrcConnectionTargetResolver::m_pServerDns
private
QTimer* KviIrcConnectionTargetResolver::m_pStartTimer
private
KviIrcConnectionTarget* KviIrcConnectionTargetResolver::m_pTarget
private
unsigned int KviIrcConnectionTargetResolver::m_uReadBufferLen
private
unsigned int KviIrcConnectionTargetResolver::m_uReadPackets
private

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