BigBrotherBot v1.9.0
System Development Information for the BigBrotherBot project.

xlrstats::CtimePlugin Class Reference

Inheritance diagram for xlrstats::CtimePlugin:

List of all members.

Public Member Functions

def __init__
def purge
def onEvent
def update_time_stats_connected
def formatTD
def update_time_stats_exit

Public Attributes


Private Attributes


Static Private Attributes

dictionary _clients = {}
 _cronTab = None
int _max_age_in_days = 31
int _hours = 5
int _minutes = 0

Detailed Description

This is a helper class/plugin that saves client join and disconnect time info
It can not be called directly or separately from the XLRstats plugin!

Constructor & Destructor Documentation

def xlrstats::CtimePlugin::__init__ (   self,

Reimplemented from b3::plugin::Plugin.

Member Function Documentation

def xlrstats::CtimePlugin::formatTD (   self,
def xlrstats::CtimePlugin::onEvent (   self,
Called by B3 when a registered event is encountered. You must overwrite
this to intercept events.

Reimplemented from b3::plugin::Plugin.

def xlrstats::CtimePlugin::purge (   self)
def xlrstats::CtimePlugin::update_time_stats_connected (   self,
def xlrstats::CtimePlugin::update_time_stats_exit (   self,

Member Data Documentation

dictionary xlrstats::CtimePlugin::_clients = {} [static, private]
xlrstats::CtimePlugin::_cronTab = None [static, private]
int xlrstats::CtimePlugin::_hours = 5 [static, private]
int xlrstats::CtimePlugin::_max_age_in_days = 31 [static, private]
int xlrstats::CtimePlugin::_minutes = 0 [static, private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties