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

b3::extplugins::xlrstats::CtimePlugin Class Reference

Inheritance diagram for b3::extplugins::xlrstats::CtimePlugin:
b3::plugin::Plugin b3::plugin::Plugin

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
def __init__
def purge
def onEvent
def update_time_stats_connected
def formatTD
def update_time_stats_exit

Public Attributes

 console
 ctime_table
 query

Private Attributes

 _max_age_in_days

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 b3::extplugins::xlrstats::CtimePlugin::__init__ (   self,
  console,
  cTimeTable 
)

Reimplemented from b3::plugin::Plugin.

def b3::extplugins::xlrstats::CtimePlugin::__init__ (   self,
  console,
  cTimeTable 
)

Reimplemented from b3::plugin::Plugin.


Member Function Documentation

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

Reimplemented from b3::plugin::Plugin.

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

Reimplemented from b3::plugin::Plugin.

def b3::extplugins::xlrstats::CtimePlugin::purge (   self)
def b3::extplugins::xlrstats::CtimePlugin::purge (   self)
def b3::extplugins::xlrstats::CtimePlugin::update_time_stats_connected (   self,
  client 
)
def b3::extplugins::xlrstats::CtimePlugin::update_time_stats_connected (   self,
  client 
)
def b3::extplugins::xlrstats::CtimePlugin::update_time_stats_exit (   self,
  clientid 
)
def b3::extplugins::xlrstats::CtimePlugin::update_time_stats_exit (   self,
  clientid 
)

Member Data Documentation

dictionary b3::extplugins::xlrstats::CtimePlugin::_clients = {} [static, private]

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