#include <KviLagMeter.h>
References c, KVI_OPTION_UINT, KviOption_uintLagMeterHeartbeat, m_bOnAlarm, m_pCheckList, m_pConnection, m_pDeletionSignal, m_tFirstOwnCheck, m_tLastCompleted, m_tLastOwnCheck, m_uLag, m_uLastEmittedLag, m_uLastReliability, and KviPointerList< T >::setAutoDelete().
KviLagMeter::~KviLagMeter |
( |
| ) |
|
|
protected |
unsigned int KviLagMeter::lag |
( |
| ) |
|
|
inline |
void KviLagMeter::lagCheckAbort |
( |
const char * |
key | ) |
|
References __tr2qs, _OUTPUT_PARANOIC, KviPointerList< T >::append(), c, KviIrcConnection::console(), KviPointerList< T >::first(), KVI_OUT_VERBOSE, kvi_strEqualCS(), l, m_pCheckList, m_pConnection, KviPointerList< T >::next(), KviWindow::output(), KviCString::ptr(), KviPointerList< T >::removeRef(), KviPointerList< T >::setAutoDelete(), and KviLagCheck::szKey.
Referenced by KviIsOnNotifyListManager::stop(), and KviStupidNotifyListManager::stop().
bool KviLagMeter::lagCheckComplete |
( |
const char * |
key | ) |
|
References __tr2qs, _OUTPUT_PARANOIC, c, KviIrcConnection::console(), KviPointerList< T >::first(), kvi_gettimeofday(), KVI_OUT_VERBOSE, kvi_strEqualCS(), KviLagCheck::lSecs, KviLagCheck::lUSecs, m_pCheckList, m_pConnection, m_tFirstOwnCheck, m_tLastCompleted, m_tLastOwnCheck, m_uLag, m_uLastReliability, KviPointerList< T >::next(), KviWindow::output(), KviCString::ptr(), KviPointerList< T >::removeFirst(), KviLagCheck::szKey, and KviLagCheck::uReliability.
Referenced by KviIsOnNotifyListManager::handleIsOn(), KviStupidNotifyListManager::handleIsOn(), KviIsOnNotifyListManager::handleUserhost(), KviIrcServerParser::parseCtcpReplyLagcheck(), KviIrcServerParser::parseLiteralPong(), and KviIrcServerParser::parseNumericEndOfWho().
void KviLagMeter::lagCheckRegister |
( |
const char * |
key, |
|
|
unsigned int |
uReliability = 50 |
|
) |
| |
References __tr2qs, _OUTPUT_PARANOIC, KviPointerList< T >::append(), c, KviIrcConnection::console(), KviPointerList< T >::count(), kvi_gettimeofday(), KVI_OUT_VERBOSE, KviLagCheck::lSecs, KviLagCheck::lUSecs, m_pCheckList, m_pConnection, KviWindow::output(), KviPointerList< T >::removeFirst(), KviLagCheck::szKey, and KviLagCheck::uReliability.
Referenced by KviIrcConnection::heartbeat(), KviIsOnNotifyListManager::sendIsOn(), KviStupidNotifyListManager::sendIsOn(), KviIsOnNotifyListManager::sendUserhost(), timerEvent(), and KviIrcConnectionRequestQueue::timerSlot().
unsigned int KviLagMeter::secondsSinceLastCompleted |
( |
| ) |
|
void KviLagMeter::timerEvent |
( |
QTimerEvent * |
e | ) |
|
|
protectedvirtual |
References __tr2qs, _OUTPUT_PARANOIC, c, KviMainWindow::childConnectionLagChange(), KviIrcConnection::Connected, KviIrcConnection::console(), KviPointerList< T >::count(), KviIrcConnection::encodeText(), KviPointerList< T >::first(), KviCString::Format, g_pMainWindow, kvi_gettimeofday(), KVI_OPTION_UINT, KVI_OUT_VERBOSE, KviEvent_OnLagAlarmTimeDown, KviEvent_OnLagAlarmTimeUp, KviEvent_OnLagCheck, KviOption_uintLagAlarmTime, KviOption_uintLagMeterHeartbeat, KVS_TRIGGER_EVENT_2_HALTED, lagCheckRegister(), KviLagCheck::lSecs, m_bOnAlarm, m_pCheckList, m_pConnection, m_pDeletionSignal, m_tFirstOwnCheck, m_tLastCompleted, m_tLastOwnCheck, m_uLag, m_uLastEmittedLag, m_uLastReliability, KviIrcConnectionServerInfo::name(), KviIrcConnectionUserInfo::nickName(), KviWindow::output(), KviCString::ptr(), KviIrcConnection::sendFmtData(), KviIrcConnection::serverInfo(), KviIrcConnection::state(), and KviIrcConnection::userInfo().
bool KviLagMeter::m_bOnAlarm |
|
protected |
bool* KviLagMeter::m_pDeletionSignal |
|
protected |
long KviLagMeter::m_tFirstOwnCheck |
|
protected |
long KviLagMeter::m_tLastCompleted |
|
protected |
long KviLagMeter::m_tLastOwnCheck |
|
protected |
unsigned int KviLagMeter::m_uLag |
|
protected |
unsigned int KviLagMeter::m_uLastEmittedLag |
|
protected |
unsigned int KviLagMeter::m_uLastReliability |
|
protected |
The documentation for this class was generated from the following files: