Description of the Plugin. More...
Public Member Functions | |
def | __init__ (self, config) |
Do not change anything here! | |
def | onLoad (self) |
Called by import of the plugin. | |
def | fms (self, bwPacket) |
Called on FMS alarm. | |
def | pocsag (self, bwPacket) |
Called on POCSAG alarm. | |
def | zvei (self, bwPacket) |
Called on ZVEI alarm. | |
def | msg (self, bwPacket) |
Called on MSG packet. | |
Public Member Functions inherited from plugin.pluginBase.PluginBase | |
def | __init__ (self, pluginName, config) |
init preload some needed locals and then call onLoad() directly | |
def | onLoad (self) |
Called by import of the plugin can be inherited. | |
def | setup (self) |
Called before alarm can be inherited. | |
def | fms (self, bwPacket) |
Called on FMS alarm can be inherited. | |
def | pocsag (self, bwPacket) |
Called on POCSAG alarm can be inherited. | |
def | zvei (self, bwPacket) |
Called on ZVEI alarm can be inherited. | |
def | msg (self, bwPacket) |
Called on MSG packet can be inherited. | |
def | teardown (self) |
Called after alarm can be inherited. | |
def | onUnload (self) |
Called on shutdown of boswatch can be inherited. | |
def | parseWildcards (self, msg) |
Return the message with parsed wildcards. | |
Data Fields | |
bot | |
Data Fields inherited from plugin.pluginBase.PluginBase | |
config | |
Protected Member Functions | |
def | _sendMessage (self, message) |
def | _sendLocation (self, lat, lon) |
Protected Member Functions inherited from plugin.pluginBase.PluginBase | |
def | _cleanup (self) |
Cleanup routine calls onUnload() directly. | |
def | _run (self, bwPacket) |
start an complete running turn of an plugin. | |
def | _getStatistics (self) |
Returns statistical information's from last plugin run. | |
Additional Inherited Members | |
Protected Attributes inherited from plugin.pluginBase.PluginBase | |
_pluginName | |
_bwPacket | |
_sumTime | |
_cumTime | |
_setupTime | |
_alarmTime | |
_teardownTime | |
_runCount | |
_setupErrorCount | |
_alarmErrorCount | |
_teardownErrorCount | |
Static Protected Attributes inherited from plugin.pluginBase.PluginBase | |
list | _pluginsActive = [] |
Description of the Plugin.
def plugin.telegram.BoswatchPlugin.__init__ | ( | self, | |
config | |||
) |
Do not change anything here!
Reimplemented from plugin.pluginBase.PluginBase.
def plugin.telegram.BoswatchPlugin.onLoad | ( | self | ) |
Called by import of the plugin.
Reimplemented from plugin.pluginBase.PluginBase.
def plugin.telegram.BoswatchPlugin.fms | ( | self, | |
bwPacket | |||
) |
Called on FMS alarm.
@param bwPacket: bwPacket instance
Reimplemented from plugin.pluginBase.PluginBase.
def plugin.telegram.BoswatchPlugin.pocsag | ( | self, | |
bwPacket | |||
) |
Called on POCSAG alarm.
@param bwPacket: bwPacket instance
Reimplemented from plugin.pluginBase.PluginBase.
def plugin.telegram.BoswatchPlugin.zvei | ( | self, | |
bwPacket | |||
) |
Called on ZVEI alarm.
@param bwPacket: bwPacket instance
Reimplemented from plugin.pluginBase.PluginBase.
def plugin.telegram.BoswatchPlugin.msg | ( | self, | |
bwPacket | |||
) |
Called on MSG packet.
@param bwPacket: bwPacket instance
Reimplemented from plugin.pluginBase.PluginBase.
|
protected |
|
protected |
plugin.telegram.BoswatchPlugin.bot |