add alarmWorker template

This commit is contained in:
Bastian Schroll 2019-02-10 12:02:44 +01:00
parent 95c2cecc64
commit 18d7a0db6f

View file

@ -0,0 +1,28 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""!
____ ____ ______ __ __ __ _____
/ __ )/ __ \/ ___/ | / /___ _/ /______/ /_ |__ /
/ __ / / / /\__ \| | /| / / __ `/ __/ ___/ __ \ /_ <
/ /_/ / /_/ /___/ /| |/ |/ / /_/ / /_/ /__/ / / / ___/ /
/_____/\____//____/ |__/|__/\__,_/\__/\___/_/ /_/ /____/
German BOS Information Script
by Bastian Schroll
@file: alarmWorker.py
@date: 20.09.2018
@author: Bastian Schroll
@description: Alarm worker to process the alarms in a separate thread
"""
import logging
# from boswatch.module import file
logging.debug("- %s loaded", __name__)
class alarmWorker:
"""!Worker class to process alarms"""
def __init__(self, alarmQueue):
self.__alarmQueue = alarmQueue