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

#include <DccChatWindow.h>

+ Inheritance diagram for DccChatThread:

Public Member Functions

 DccChatThread (KviWindow *wnd, kvi_socket_t fd)
 
virtual void sendRawData (const void *buffer, int len)
 
 ~DccChatThread ()
 
- Public Member Functions inherited from DccThread
 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

virtual bool handleIncomingData (KviDccThreadIncomingData *data, bool bCritical)
 
virtual void run ()
 
bool tryFlushOutBuffers ()
 
- Protected Member Functions inherited from DccThread
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)
 

Protected Attributes

KviPointerList< KviDataBuffer > * m_pOutBuffers
 
- Protected Attributes inherited from DccThread
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

DccChatThread::DccChatThread ( KviWindow wnd,
kvi_socket_t  fd 
)
DccChatThread::~DccChatThread ( )

References m_pOutBuffers.

Member Function Documentation

bool DccChatThread::handleIncomingData ( KviDccThreadIncomingData data,
bool  bCritical 
)
protectedvirtual
void DccChatThread::run ( )
protectedvirtual
void DccChatThread::sendRawData ( const void *  buffer,
int  len 
)
virtual
bool DccChatThread::tryFlushOutBuffers ( )
protected

Member Data Documentation

KviPointerList<KviDataBuffer>* DccChatThread::m_pOutBuffers
protected

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