BigBrotherBot v1.6.0
System Development Information for the BigBrotherBot project.
Public Member Functions | Public Attributes | Static Public Attributes | Private Attributes | Static Private Attributes

b3::plugins::cod7http::Cod7HttpPlugin Class Reference

Inheritance diagram for b3::plugins::cod7http::Cod7HttpPlugin:
b3::plugin::Plugin

List of all members.

Public Member Functions

def onLoadConfig
def initThread
def onStartup
def httpThreadalive
def writeCompletelog
def processData

Public Attributes

 locallog
 timeout
 lastlines

Static Public Attributes

 requiresConfigFile = False
string lastlines = ''
 httpthreadinst = None

Private Attributes

 _publicIp
 _port
 _url

Static Private Attributes

string _timeout_url = 'http://logs.gameservers.com/timeout'
int _default_timeout = 5
 _logAppend = True

Detailed Description

Downloads and appends the remote game log file for CoD7 to a local
log file from a http location given by GSP.

Member Function Documentation

def b3::plugins::cod7http::Cod7HttpPlugin::httpThreadalive (   self)
Test whether processData thread is still running.
def b3::plugins::cod7http::Cod7HttpPlugin::initThread (   self)
Starts a thread for cod7http plugin.
def b3::plugins::cod7http::Cod7HttpPlugin::onLoadConfig (   self)
\
This is called after loadConfig(). Any plugin private variables loaded
from the config need to be reset here.

Reimplemented from b3::plugin::Plugin.

def b3::plugins::cod7http::Cod7HttpPlugin::onStartup (   self)
Sets and loads config values from the main config file.

Reimplemented from b3::plugin::Plugin.

def b3::plugins::cod7http::Cod7HttpPlugin::processData (   self)
Main method for plugin. It's processed by initThread method.
def b3::plugins::cod7http::Cod7HttpPlugin::writeCompletelog (   self,
  locallog,
  remotelog 
)
Will restart writing the local log when bot started for the first time
or if last line cannot be found in remote chunk

Member Data Documentation

string b3::plugins::cod7http::Cod7HttpPlugin::_timeout_url = 'http://logs.gameservers.com/timeout' [static, private]

Reimplemented from b3::plugin::Plugin.


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