mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-05 06:15:31 +00:00
some little improvements
This commit is contained in:
parent
4f72691c65
commit
fd501c23dc
7 changed files with 15 additions and 13 deletions
|
|
@ -21,10 +21,12 @@ import time
|
|||
|
||||
logging.debug("- %s loaded", __name__)
|
||||
|
||||
_dataPackets = [] # module wide global list for received data sets
|
||||
# module wide global list for received data sets
|
||||
_dataPackets = []
|
||||
_lockDataPackets = threading.Lock()
|
||||
|
||||
_clients = {}
|
||||
# module wide global list for all currently connected clients
|
||||
_clients = {} # _clients[ThreadName] = {"address", "timestamp"}
|
||||
_lockClients = threading.Lock()
|
||||
|
||||
|
||||
|
|
@ -138,7 +140,7 @@ class TCPServer(socketserver.ThreadingMixIn, socketserver.TCPServer):
|
|||
return _clients
|
||||
|
||||
@staticmethod
|
||||
def getData():
|
||||
def getDataFromQueue():
|
||||
"""!Function to get the data packages from server
|
||||
must be polled by main program
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue