#include <DccFileTransfer.h>
|
static void | msleep (unsigned long msec) |
|
static void | sleep (unsigned long sec) |
|
static void | usleep (unsigned long usec) |
|
◆ DccRecvThread()
References DccThread::DccThread(), m_pFile, m_pOpt, m_pTimeInterval, m_uAverageSpeed, m_uFilePosition, m_uInstantReceivedBytes, m_uInstantSpeed, m_uInstantSpeedInterval, m_uStartTime, and m_uTotalReceivedBytes.
◆ ~DccRecvThread()
DccRecvThread::~DccRecvThread |
( |
| ) |
|
◆ averageSpeed()
uint DccRecvThread::averageSpeed |
( |
| ) |
|
|
inline |
◆ bandwidthLimit()
unsigned int DccRecvThread::bandwidthLimit |
( |
| ) |
|
|
inline |
◆ doneGetInfo()
void DccRecvThread::doneGetInfo |
( |
| ) |
|
◆ filePosition()
quint64 DccRecvThread::filePosition |
( |
| ) |
|
|
inline |
◆ initGetInfo()
void DccRecvThread::initGetInfo |
( |
| ) |
|
◆ instantSpeed()
uint DccRecvThread::instantSpeed |
( |
| ) |
|
|
inline |
◆ postMessageEvent()
void DccRecvThread::postMessageEvent |
( |
const char * | msg | ) |
|
|
protected |
◆ receivedBytes()
quint64 DccRecvThread::receivedBytes |
( |
| ) |
|
|
inline |
◆ run()
void DccRecvThread::run |
( |
| ) |
|
|
protectedvirtual |
Reimplemented from KviThread.
References __tr_no_lookup_ctx, KviError::CantOpenFileForAppending, KviError::CantOpenFileForWriting, KviSensitiveThread::dequeueEvent(), e, KviError::FileIOError, DccThread::handleInvalidSocketRead(), INSTANT_BANDWIDTH_CHECK_INTERVAL_IN_MSECS, INSTANT_BANDWIDTH_CHECK_INTERVAL_IN_SECS, KVI_DCC_RECV_75PERCENTOF_BLOCK_SIZE, KVI_DCC_RECV_BLOCK_SIZE, KVI_DCC_THREAD_EVENT_SUCCESS, KVI_INVALID_SOCKET, kvi_select(), kvi_socket_close, kvi_socket_recv(), KVI_THREAD_EVENT_TERMINATE, kvi_unixTime, DccThread::m_fd, m_pFile, DccThread::m_pMutex, m_pOpt, m_pTimeInterval, m_uInstantReceivedBytes, m_uInstantSpeedInterval, m_uStartTime, m_uTotalReceivedBytes, MAX_DCC_BANDWIDTH_LIMIT, KviThread::msleep(), DccThread::parent(), DccThread::postErrorEvent(), KviThread::postEvent(), postMessageEvent(), sendAck(), KviError::SSLError, and updateStats().
◆ sendAck()
bool DccRecvThread::sendAck |
( |
qint64 | filePos, |
|
|
bool | bUse64BitAck = false ) |
|
protected |
◆ setBandwidthLimit()
void DccRecvThread::setBandwidthLimit |
( |
unsigned int | uMaxBandwidth | ) |
|
|
inline |
◆ updateStats()
void DccRecvThread::updateStats |
( |
| ) |
|
|
protected |
References INSTANT_BANDWIDTH_CHECK_INTERVAL_IN_MSECS, INSTANT_BANDWIDTH_CHECK_INTERVAL_IN_SECS, m_pFile, DccThread::m_pMutex, m_pTimeInterval, m_uAverageSpeed, m_uFilePosition, m_uInstantReceivedBytes, m_uInstantSpeed, m_uInstantSpeedInterval, m_uStartTime, and m_uTotalReceivedBytes.
Referenced by run().
◆ m_pFile
QFile* DccRecvThread::m_pFile |
|
protected |
◆ m_pOpt
◆ m_pTimeInterval
◆ m_uAverageSpeed
uint DccRecvThread::m_uAverageSpeed |
|
protected |
◆ m_uFilePosition
quint64 DccRecvThread::m_uFilePosition |
|
protected |
◆ m_uInstantReceivedBytes
quint64 DccRecvThread::m_uInstantReceivedBytes |
|
protected |
◆ m_uInstantSpeed
uint DccRecvThread::m_uInstantSpeed |
|
protected |
◆ m_uInstantSpeedInterval
quint64 DccRecvThread::m_uInstantSpeedInterval |
|
protected |
◆ m_uStartTime
unsigned long DccRecvThread::m_uStartTime |
|
protected |
◆ m_uTotalReceivedBytes
quint64 DccRecvThread::m_uTotalReceivedBytes |
|
protected |
The documentation for this class was generated from the following files: