             @rooms      = {}
             @token      = Token
 
+        # Send informations about the new peer to all the peers connected in the room.
         notifyNewPeer     : (socket) =>
             clientsInfos    = []
             sockets         = @rooms[socket.rid]

                if (error)
                    console.error error

        socketOnMessage   : (socket, message) =>
            if not message.data
                return

                @peerRemove socket
            @sockets.splice @sockets.indexOf(socket), 1

        # Called when a new peer has arrived.
        serverOnConnection   : (socket) =>
            socket.cid      = -1
            socket.rid      = -1
