KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
DccThread Class Reference

#include <DccThread.h>

+ Inheritance diagram for DccThread:

Public Member Functions

 DccThread (QObject *par, kvi_socket_t fd)
 
QObject * parent ()
 
void postErrorEvent (int err)
 
void postMessageEvent (const char *message)
 
 ~DccThread ()
 
- Public Member Functions inherited from KviSensitiveThread
void enqueueEvent (KviThreadEvent *e)
 
 KviSensitiveThread ()
 
void terminate ()
 
virtual ~KviSensitiveThread ()
 
- Public Member Functions inherited from KviThread
void internalThreadRun_doNotTouchThis ()
 
bool isRunning ()
 
bool isStartingUp ()
 
 KviThread ()
 
bool start ()
 
void wait ()
 
virtual ~KviThread ()
 

Protected Member Functions

bool handleInvalidSocketRead (int readLen)
 
- Protected Member Functions inherited from KviSensitiveThread
KviThreadEventdequeueEvent ()
 
- Protected Member Functions inherited from KviThread
void exit ()
 
void postEvent (QObject *o, QEvent *e)
 
virtual void run ()
 

Protected Attributes

kvi_socket_t m_fd
 
KviMutexm_pMutex
 
QObject * m_pParent
 
- Protected Attributes inherited from KviSensitiveThread
KviPointerList< KviThreadEvent > * m_pLocalEventQueue
 
KviMutexm_pLocalEventQueueMutex
 

Additional Inherited Members

- Static Public Member Functions inherited from KviThread
static void msleep (unsigned long msec)
 
static void sleep (unsigned long sec)
 
static void usleep (unsigned long usec)
 

Constructor & Destructor Documentation

DccThread::DccThread ( QObject *  par,
kvi_socket_t  fd 
)

References m_fd, m_pMutex, and m_pParent.

DccThread::~DccThread ( )

Member Function Documentation

bool DccThread::handleInvalidSocketRead ( int  readLen)
protected
QObject* DccThread::parent ( )
inline
void DccThread::postErrorEvent ( int  err)
void DccThread::postMessageEvent ( const char *  message)

Member Data Documentation

kvi_socket_t DccThread::m_fd
protected
KviMutex* DccThread::m_pMutex
protected
QObject* DccThread::m_pParent
protected

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