From 0cae8115a93589e37943590db45967beec841a07 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Thu, 4 Jun 2015 05:54:16 +0100 Subject: added a system of notification what the client will receive will look like: {'type': TYPE, 'content': CONTENT} TYPE will be either 'notification' or 'response' CONTENT will be the content of the notification or the response Signed-off-by: Olivier Gayot --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server.py') diff --git a/server.py b/server.py index 77d8cab..cdd8abf 100755 --- a/server.py +++ b/server.py @@ -10,7 +10,7 @@ import json game_manager = CAO_GameManager.CAO_GameManager() def new_client_handler(client, server): - client['cao_client'] = CAO_Client.CAO_Client(game_manager) + client['cao_client'] = CAO_Client.CAO_Client(server, client, game_manager) def client_left_handler(client, server): pass -- cgit v1.2.3