Description of the Plugin. More...
Public Member Functions | |
| __init__ (self, config) | |
| Do not change anything here! | |
| fms (self, bwPacket) | |
| Called on FMS alarm. | |
| pocsag (self, bwPacket) | |
| Called on POCSAG alarm. | |
| zvei (self, bwPacket) | |
| Called on ZVEI alarm. | |
| msg (self, bwPacket) | |
| Called on MSG packet. | |
Public Member Functions inherited from plugin.pluginBase.PluginBase | |
| onLoad (self) | |
| Called by import of the plugin can be inherited. | |
| setup (self) | |
| Called before alarm can be inherited. | |
| teardown (self) | |
| Called after alarm can be inherited. | |
| onUnload (self) | |
| Called on shutdown of boswatch can be inherited. | |
| parseWildcards (self, msg) | |
| Return the message with parsed wildcards. | |
Protected Member Functions | |
| _makeRequests (self, apipath, apicall) | |
| _asyncRequests (self, url) | |
| _fetch (self, url, session) | |
Protected Member Functions inherited from plugin.pluginBase.PluginBase | |
| _cleanup (self) | |
| Cleanup routine calls onUnload() directly. | |
| _run (self, bwPacket) | |
| start an complete running turn of an plugin. | |
| _getStatistics (self) | |
| Returns statistical information's from last plugin run. | |
Additional Inherited Members | |
Data Fields inherited from plugin.pluginBase.PluginBase | |
| config | |
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.
| plugin.divera.BoswatchPlugin.__init__ | ( | self, | |
| config | |||
| ) |
Do not change anything here!
Reimplemented from plugin.pluginBase.PluginBase.
| plugin.divera.BoswatchPlugin.fms | ( | self, | |
| bwPacket | |||
| ) |
Called on FMS alarm.
| bwPacket | bwPacket instance Remove if not implemented |
Reimplemented from plugin.pluginBase.PluginBase.
| plugin.divera.BoswatchPlugin.pocsag | ( | self, | |
| bwPacket | |||
| ) |
Called on POCSAG alarm.
| bwPacket | bwPacket instance Remove if not implemented |
Reimplemented from plugin.pluginBase.PluginBase.
| plugin.divera.BoswatchPlugin.zvei | ( | self, | |
| bwPacket | |||
| ) |
Called on ZVEI alarm.
| bwPacket | bwPacket instance Remove if not implemented |
Reimplemented from plugin.pluginBase.PluginBase.
| plugin.divera.BoswatchPlugin.msg | ( | self, | |
| bwPacket | |||
| ) |
Called on MSG packet.
| bwPacket | bwPacket instance Remove if not implemented |
Reimplemented from plugin.pluginBase.PluginBase.
|
protected |
Parses wildcard urls and handles asynchronus requests @param urls: array of urls
|
protected |
Handles asynchronus requests @param urls: array of urls to send requests to
|
protected |
Fetches requests @param url: url @param session: Clientsession instance