X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;f=server_%2Fio.py;fp=server_%2Fio.py;h=7db47ca7857981f266500bc20b44fe4dd136dc96;hb=992fc9b392c4318bd2fda31f526ea838b0138a9e;hp=e015b4f6f5cc14cbaeabc398223bf9c0ee7da7aa;hpb=6c2138deeea000ebb531203445fa22c1f7a6f0da;p=plomrogue2-experiments diff --git a/server_/io.py b/server_/io.py index e015b4f..7db47ca 100644 --- a/server_/io.py +++ b/server_/io.py @@ -31,9 +31,10 @@ class IO_Handler(socketserver.BaseRequestHandler): from the game IO loop via that new queue. At the same time, loops over socket's recv to get messages - from the outside via self.server.queue_out into the game IO - loop. Ends connection once a 'QUIT' message is received from - socket, and then also calls for a kill of its own queue. + from the outside into the game IO loop by way of + self.server.queue_out into the game IO. Ends connection once a + 'QUIT' message is received from socket, and then also calls + for a kill of its own queue. All messages to the game IO loop are tuples, with the first element a meta command ('ADD_QUEUE' for queue creation,