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 Remove if not implemented. | |
| def | setup (self) |
| Called before alarm Remove if not implemented. | |
| 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. | |
| def | teardown (self) |
| Called after alarm Remove if not implemented. | |
| def | onUnload (self) |
| Called by destruction of the plugin Remove if not implemented. | |
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. | |
Additional Inherited Members | |
Data Fields inherited from plugin.pluginBase.PluginBase | |
| config | |
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. | |
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.template_plugin.BoswatchPlugin.__init__ | ( | self, | |
| config | |||
| ) |
Do not change anything here!
Reimplemented from plugin.pluginBase.PluginBase.
| def plugin.template_plugin.BoswatchPlugin.onLoad | ( | self | ) |
Called by import of the plugin Remove if not implemented.
Reimplemented from plugin.pluginBase.PluginBase.
| def plugin.template_plugin.BoswatchPlugin.setup | ( | self | ) |
Called before alarm Remove if not implemented.
Reimplemented from plugin.pluginBase.PluginBase.
| def plugin.template_plugin.BoswatchPlugin.fms | ( | self, | |
| bwPacket | |||
| ) |
Called on FMS alarm.
@param bwPacket: bwPacket instance
Remove if not implemented
Reimplemented from plugin.pluginBase.PluginBase.
| def plugin.template_plugin.BoswatchPlugin.pocsag | ( | self, | |
| bwPacket | |||
| ) |
Called on POCSAG alarm.
@param bwPacket: bwPacket instance
Remove if not implemented
Reimplemented from plugin.pluginBase.PluginBase.
| def plugin.template_plugin.BoswatchPlugin.zvei | ( | self, | |
| bwPacket | |||
| ) |
Called on ZVEI alarm.
@param bwPacket: bwPacket instance
Remove if not implemented
Reimplemented from plugin.pluginBase.PluginBase.
| def plugin.template_plugin.BoswatchPlugin.msg | ( | self, | |
| bwPacket | |||
| ) |
Called on MSG packet.
@param bwPacket: bwPacket instance
Remove if not implemented
Reimplemented from plugin.pluginBase.PluginBase.
| def plugin.template_plugin.BoswatchPlugin.teardown | ( | self | ) |
Called after alarm Remove if not implemented.
Reimplemented from plugin.pluginBase.PluginBase.
| def plugin.template_plugin.BoswatchPlugin.onUnload | ( | self | ) |
Called by destruction of the plugin Remove if not implemented.
Reimplemented from plugin.pluginBase.PluginBase.