Logo Search packages:      
Sourcecode: znc version File versions

CKeepNickTimer Class Reference

#include <Timers.h>

Inheritance diagram for CKeepNickTimer:


List of all members.

Detailed Description


Definition at line 8 of file Timers.h.

Public Member Functions

 CKeepNickTimer (CUser *pUser)
u_int GetCyclesLeft () const
int GetInterval () const
u_int GetMaxCycles () const
const CS_STRING & GetName () const
bool isValid ()
 returns true if cron is active
void Pause ()
 pauses excution of your code in RunJob
void run (time_t &iNow)
 This is used by the Job Manager, and not you directly.
void SetName (const CS_STRING &sName)
void Start (int TimeSequence)
 starts and runs infinity amount of times
void StartMaxCycles (int TimeSequence, u_int iMaxCycles)
void Stop ()
 call this to turn off your cron, it will be removed
void UnPause ()
 removes the pause on RunJon

Protected Member Functions

virtual void RunJob ()
 this is the method you should override

Protected Attributes

CUser * m_pUser
unsigned int m_uTrys

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

Generated by  Doxygen 1.6.0   Back to index