Part of lib.pluginSupport View Source View In Hierarchy
Known subclasses: services.ircClient.Bot, services.ircServer.Server, services.remoteCliServer.remoteCLI, services.webServer.myHTTPRequestHandler, services.webServer.webPluginSupport
Method | __init__ | Undocumented |
Method | register_pluginsupport_commands | Undocumented |
Method | depends | Undocumented |
Method | depends_on_module | Undocumented |
Method | depends_on_service | Undocumented |
Method | depends_on_plugin | Undocumented |
Method | importPlugin | Undocumented |
Method | callbackRegistered | Undocumented |
Method | registerCallback | Undocumented |
Method | unregisterCallback | Undocumented |
Method | startPlugins | initializes all known plugins |
Method | startPlugin | Undocumented |
Method | reloadPluginClass | Undocumented |
Method | restartPlugin | Undocumented |
Method | reloadPlugins | call this to reload all plugins |
Method | stopPlugins | stop all Plugins |
Method | stopPlugin | Undocumented |
Class | WontStart | Undocumented |
Class | DependencyMissing | Undocumented |
Class | ModuleMissing | Undocumented |
Class | ServiceMissing | Undocumented |
Class | PluginMissing | Undocumented |
Method | logerror | format a exception nicely and pass it to the logger |
Method | _getClassName | Undocumented |
Method | _apirunner | Pass all calls to plugin callbacks through this method, they |
Parameters | logger | the logger instance to use |
plugin | the plugin in which the exception occured (type: string ) | |
exception | the exception (type: exception ) |
Example
self._apirunner("privmsg",{"user":user,"channel":channel,"msg":msg})
Parameters | apifunction | the name of the callback function (type: string ) |
args | the arguments for the callback (type: dict ) |