#include <KviLagMeter.h>
◆ KviLagMeter()
◆ ~KviLagMeter()
KviLagMeter::~KviLagMeter |
( |
| ) |
|
|
protected |
◆ lag()
unsigned int KviLagMeter::lag |
( |
| ) |
const |
|
inline |
◆ lagCheckAbort()
void KviLagMeter::lagCheckAbort |
( |
const char * |
key | ) |
|
◆ lagCheckComplete()
bool KviLagMeter::lagCheckComplete |
( |
const char * |
key | ) |
|
References __tr2qs, _OUTPUT_PARANOIC, KviIrcConnection::console(), kvi_gettimeofday(), KVI_OUT_VERBOSE, kvi_strEqualCS(), KviLagCheck::lSecs, KviLagCheck::lUSecs, m_lCheckList, m_pConnection, m_tFirstOwnCheck, m_tLastCompleted, m_tLastOwnCheck, m_uLag, m_uLastReliability, KviWindow::output(), and KviLagCheck::uReliability.
Referenced by KviIsOnNotifyListManager::handleIsOn(), KviStupidNotifyListManager::handleIsOn(), KviIsOnNotifyListManager::handleUserhost(), KviIrcServerParser::parseCtcpReplyLagcheck(), KviIrcServerParser::parseLiteralPong(), and KviIrcServerParser::parseNumericEndOfWho().
◆ lagCheckRegister()
void KviLagMeter::lagCheckRegister |
( |
const char * |
key, |
|
|
unsigned int |
uReliability = 50 |
|
) |
| |
References __tr2qs, _OUTPUT_PARANOIC, KviIrcConnection::console(), kvi_gettimeofday(), KVI_OUT_VERBOSE, KviLagCheck::lSecs, KviLagCheck::lUSecs, m_lCheckList, m_pConnection, KviWindow::output(), KviLagCheck::szKey, and KviLagCheck::uReliability.
Referenced by KviIrcConnection::heartbeat(), KviIsOnNotifyListManager::sendIsOn(), KviStupidNotifyListManager::sendIsOn(), KviIsOnNotifyListManager::sendUserhost(), timerEvent(), and KviIrcConnectionRequestQueue::timerSlot().
◆ secondsSinceLastCompleted()
unsigned int KviLagMeter::secondsSinceLastCompleted |
( |
| ) |
|
◆ timerEvent()
void KviLagMeter::timerEvent |
( |
QTimerEvent * |
e | ) |
|
|
overrideprotected |
References __tr2qs, _OUTPUT_PARANOIC, KviMainWindow::childConnectionLagChange(), KviIrcConnection::Connected, KviIrcConnection::console(), KviIrcConnection::encodeText(), 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_lCheckList, 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().
◆ KviIrcConnection
◆ m_bOnAlarm
bool KviLagMeter::m_bOnAlarm = false |
|
protected |
◆ m_lCheckList
◆ m_pConnection
◆ m_pDeletionSignal
bool* KviLagMeter::m_pDeletionSignal = nullptr |
|
protected |
◆ m_tFirstOwnCheck
long KviLagMeter::m_tFirstOwnCheck = 0 |
|
protected |
◆ m_tLastCompleted
long KviLagMeter::m_tLastCompleted = 0 |
|
protected |
◆ m_tLastOwnCheck
long KviLagMeter::m_tLastOwnCheck = 0 |
|
protected |
◆ m_uLag
unsigned int KviLagMeter::m_uLag = 0 |
|
protected |
◆ m_uLastEmittedLag
unsigned int KviLagMeter::m_uLastEmittedLag = 0 |
|
protected |
◆ m_uLastReliability
unsigned int KviLagMeter::m_uLastReliability = 0 |
|
protected |
The documentation for this class was generated from the following files: