mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-05 06:15:31 +00:00
Merge branch 'develop' into add_sys_var
This commit is contained in:
commit
4a554e2cf1
8 changed files with 11 additions and 11 deletions
|
|
@ -13,8 +13,7 @@
|
|||
@date: 15.01.2018
|
||||
@author: Bastian Schroll
|
||||
@description: Class to implement a filter for double alarms
|
||||
@todo test, refactor and document
|
||||
@todo check_msg is not implemented yet
|
||||
@todo test, refactor and document / check_msg is not implemented yet
|
||||
"""
|
||||
import logging
|
||||
import time
|
||||
|
|
|
|||
|
|
@ -135,7 +135,11 @@ class TCPServer(socketserver.ThreadingMixIn, socketserver.TCPServer):
|
|||
|
||||
@staticmethod
|
||||
def getClientsConnected():
|
||||
# todo insert comment
|
||||
"""!A list of all connected clients
|
||||
with their IP address and last seen timestamp
|
||||
_clients[ThreadName] = {"address", "timestamp"}
|
||||
|
||||
@return List of onnected clients"""
|
||||
# todo return full list or write a print/debug method?
|
||||
return _clients
|
||||
|
||||
|
|
|
|||
|
|
@ -101,6 +101,5 @@ class Packet:
|
|||
"""!Print a info message to the log on INFO level.
|
||||
Contains the most useful info about this packet.
|
||||
@todo not complete yet - must be edit to print nice formatted messages on console
|
||||
|
||||
@param bwPacket: BOSWatch packet instance"""
|
||||
"""
|
||||
logging.info("[%s]", self.get("mode"))
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@
|
|||
@date: 15.01.2018
|
||||
@author: Bastian Schroll
|
||||
@description: Little Helper to replace wildcards in stings
|
||||
@todo not completed yet
|
||||
"""
|
||||
import logging
|
||||
import time
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue