add doc to server.py

This commit is contained in:
Bastian Schroll 2018-09-20 07:58:26 +02:00
parent 1d30c99180
commit 1252a953a8

View file

@ -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