mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-01-25 01:50:21 +01:00
add doc to server.py
This commit is contained in:
parent
1d30c99180
commit
1252a953a8
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue