Description of the Module. More...
Public Member Functions | |
def | __init__ (self, config) |
Do not change anything here! | |
def | doWork (self, bwPacket) |
start an run of the module. | |
def | geocode (self, bwPacket) |
find address in message and get latitude and longitude | |
Public Member Functions inherited from module.moduleBase.ModuleBase | |
def | __init__ (self, moduleName, config) |
init preload some needed locals and then call onLoad() directly | |
def | onLoad (self) |
Called by import of the module can be inherited. | |
def | doWork (self, bwPacket) |
Called module run can be inherited. | |
def | onUnload (self) |
Called on shutdown of boswatch can be inherited. | |
Additional Inherited Members | |
Static Public Member Functions inherited from module.moduleBase.ModuleBase | |
def | registerWildcard (newWildcard, bwPacketField) |
Register a new wildcard. | |
Data Fields inherited from module.moduleBase.ModuleBase | |
config | |
Protected Member Functions inherited from module.moduleBase.ModuleBase | |
def | _cleanup (self) |
Cleanup routine calls onUnload() directly. | |
def | _run (self, bwPacket) |
start an run of the module. | |
def | _getStatistics (self) |
Returns statistical information's from last module run. | |
Protected Attributes inherited from module.moduleBase.ModuleBase | |
_moduleName | |
_cumTime | |
_moduleTime | |
_runCount | |
_moduleErrorCount | |
Static Protected Attributes inherited from module.moduleBase.ModuleBase | |
list | _modulesActive = [] |
Description of the Module.
def module.geocoding.BoswatchModule.__init__ | ( | self, | |
config | |||
) |
Do not change anything here!
Reimplemented from module.moduleBase.ModuleBase.
def module.geocoding.BoswatchModule.doWork | ( | self, | |
bwPacket | |||
) |
start an run of the module.
@param bwPacket: A BOSWatch packet instance
Reimplemented from module.moduleBase.ModuleBase.
def module.geocoding.BoswatchModule.geocode | ( | self, | |
bwPacket | |||
) |
find address in message and get latitude and longitude
@param bwPacket: A BOSWatch packet instance