aboutsummaryrefslogtreecommitdiff
path: root/diplomacy/daide/server.py
diff options
context:
space:
mode:
Diffstat (limited to 'diplomacy/daide/server.py')
-rw-r--r--diplomacy/daide/server.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/diplomacy/daide/server.py b/diplomacy/daide/server.py
index ceca122..70324ed 100644
--- a/diplomacy/daide/server.py
+++ b/diplomacy/daide/server.py
@@ -27,7 +27,8 @@ LOGGER = logging.getLogger(__name__)
class Server(TCPServer):
""" Represents a server to receive DAIDE communications """
def __init__(self, master_server, game_id):
- """ Contructor
+ """ Constructor
+
:param master_server: the internal server
:param game_id: the game id for which this server will receive communications
"""
@@ -55,6 +56,7 @@ class Server(TCPServer):
@gen.coroutine
def handle_stream(self, stream, address):
""" Handle an open stream
+
:param stream: the stream to handle
:param address: the address of the client
"""