Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Call NameLoad NameLoad NameLoad Return Call AttributeLoad Call NameLoad Call AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Return Call AttributeLoad Call NameLoad Call AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Return Call AttributeLoad Call NameLoad Call AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Return Call AttributeLoad Call NameLoad Call AttributeLoad NameLoad attr attr Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore Dict Assign NameStore Dict FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad If UnaryOpNot NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str TryExcept body Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str handlers ExceptHandler type TupleLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str With AttributeLoad NameLoad attr body AugAssignAdd AttributeStore NameLoad attr Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore BinOpSub Call NameLoad Num For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareLt NameLoad AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Break Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Assign NameStore Dict Str Str Str Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Return Dict Str Str NameLoad NameLoad decorator_list NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str With AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareIs NameLoad NameLoad body AugAssignAdd AttributeStore NameLoad attr Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareNotEq NameLoad NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str NameLoad If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Assign NameStore Dict Str Str Str Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Return Dict Str Str NameLoad NameLoad Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str decorator_list NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str Assign NameStore Call NameLoad NameLoad If UnaryOpNot NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str With AttributeLoad NameLoad attr body AugAssignAdd AttributeStore NameLoad attr Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameStore NameLoad For NameStore Call AttributeLoad NameLoad attr body If CompareEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr Break If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Assign NameStore Dict Str Str Str Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr orelse Assign NameStore Dict Return Dict Str Str NameLoad NameLoad decorator_list NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str With AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareNotEq NameLoad NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return Dict Str NameLoad decorator_list NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str Assign AttributeStore NameLoad attr NameLoad Return Dict Str NameLoad decorator_list NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return Dict Str Str NameLoad NameLoad decorator_list NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad If UnaryOpNot NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return Dict Str Str NameLoad NameLoad decorator_list NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str Expr Call AttributeLoad NameLoad attr Return Dict Str Str NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad TryExcept body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad If CompareNotEq NameLoad NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return Dict Str NameLoad decorator_list NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad TryExcept body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If CompareNotEq NameLoad NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str Return Dict Str NameLoad decorator_list NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad TryExcept body Assign NameStore SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad If CompareNotEq NameLoad NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr Return Dict Str NameLoad decorator_list NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If CompareNotEq NameLoad NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str With AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareNotEq NameLoad NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return Dict Str NameLoad decorator_list NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad If CompareNotEq NameLoad NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str TryExcept body With AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Num Return Dict Str Str NameLoad Str Return Dict Str NameLoad decorator_list NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListComp NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr CompareEq Num Call AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Delete SubscriptDel NameLoad Index NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index NameLoad With AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass decorator_list NameLoad decorator_list
N/A logging getLogger threading Lock time time hashlib sha1 hmac new hmac_new base64 urlsafe_b64encode pylons request response config turbulenz_local.tools get_remote_addr turbulenz_local.lib.servicestatus ServiceStatus turbulenz_local.controllers BaseController turbulenz_local.decorators jsonify postonly turbulenz_local.models.gamelist get_game_by_slug turbulenz_local.models.multiplayer MultiplayerSession MultiplayerServer N/A LOG N/A getLogger __name__ _calculate_registration_hmac N/A N/A mpserver_secret ip N/A N/A N/A h N/A hmac_new mpserver_secret N/A str ip sha1 N/A N/A N/A N/A urlsafe_b64encode N/A N/A h digest rstrip = N/A _calculate_heartbeat_hmac N/A N/A mpserver_secret ip num_players active_sessions N/A N/A N/A h N/A hmac_new mpserver_secret N/A str ip sha1 N/A N/A N/A h update N/A str num_players N/A active_sessions N/A N/A N/A N/A h update N/A str active_sessions N/A N/A N/A N/A urlsafe_b64encode N/A N/A h digest rstrip = N/A _calculate_client_hmac N/A N/A secret ip session_id client_id N/A N/A N/A h N/A hmac_new secret N/A str ip sha1 N/A N/A N/A h update N/A str session_id N/A N/A N/A h update N/A str client_id N/A N/A N/A N/A urlsafe_b64encode N/A N/A h digest rstrip = N/A _calculate_session_hmac N/A N/A mpserver_secret ip session_id N/A N/A N/A h N/A hmac_new mpserver_secret N/A str ip sha1 N/A N/A N/A h update N/A str session_id N/A N/A N/A N/A urlsafe_b64encode N/A N/A h digest rstrip = N/A MultiplayerController N/A BaseController N/A N/A  MultiplayerController consists of all the multiplayer methods
     N/A multiplayer_service N/A N/A ServiceStatus check_status_decorator multiplayer N/A secret N/A N/A config get multiplayer.secret None N/A lock N/A Lock N/A last_player_id 0 N/A last_session_id 0 N/A sessions N/A N/A servers N/A create N/A N/A cls slug N/A N/A N/A game N/A get_game_by_slug slug N/A N/A game N/A N/A N/A response status_int 404 N/A N/A ok msg False Unknown game. N/A N/A N/A num_slots N/A int N/A N/A request params N/A slots N/A _ N/A N/A request params N/A gameSessionId N/A N/A N/A N/A KeyError ValueError N/A N/A N/A response status_int 400 N/A N/A ok msg False Missing session information. N/A N/A cls lock N/A N/A N/A cls last_player_id 1 N/A player_id N/A str N/A cls last_player_id N/A sessions N/A cls sessions N/A N/A cls last_session_id 1 N/A session_id N/A str N/A cls last_session_id N/A server_address None N/A secret None N/A N/A N/A cls secret None N/A N/A stale_time N/A N/A time 80 N/A N/A ip server N/A N/A N/A cls servers iteritems N/A N/A N/A stale_time N/A server updated N/A N/A server_address N/A %s:%d N/A ip N/A server port N/A secret N/A cls secret N/A N/A session N/A MultiplayerSession session_id slug num_slots server_address secret N/A N/A N/A LOG info Created session %s (%d slots) session_id num_slots N/A N/A sessions N/A session_id session N/A request_ip N/A get_remote_addr request N/A N/A N/A session add_player player_id request_ip N/A N/A N/A LOG info Player %s joins session %s player_id session_id N/A info N/A server sessionid playerid numplayers N/A N/A session get_player_address N/A request host request_ip player_id session_id player_id N/A N/A session get_num_players N/A N/A ok data True info N/A classmethod postonly multiplayer_service jsonify join N/A N/A cls N/A N/A N/A params N/A request params N/A N/A N/A session_id N/A params N/A session N/A _ N/A N/A request params N/A gameSessionId N/A N/A N/A KeyError N/A N/A N/A response status_int 400 N/A N/A ok msg False Missing session information. N/A N/A N/A session N/A N/A cls sessions N/A session_id N/A N/A N/A KeyError N/A N/A N/A response status_int 404 N/A N/A ok msg False Unknown session. N/A N/A cls lock N/A N/A N/A N/A session update_status N/A request_ip N/A get_remote_addr request N/A player_id N/A N/A params get player None N/A N/A player_id None N/A N/A N/A cls last_player_id 1 N/A player_id N/A str N/A cls last_player_id N/A N/A stored_ip N/A N/A session get_player_ip player_id N/A N/A N/A stored_ip None N/A request_ip stored_ip N/A N/A N/A response status_int 401 N/A N/A ok False N/A N/A N/A session can_join player_id N/A N/A N/A N/A session add_player player_id request_ip N/A N/A N/A LOG info Player %s joins session %s player_id session_id N/A info N/A server sessionid playerid numplayers N/A N/A session get_player_address N/A request host request_ip player_id session_id player_id N/A N/A session get_num_players N/A N/A ok data True info N/A N/A response status_int 409 N/A N/A ok msg False No slot available. N/A classmethod postonly multiplayer_service jsonify join_any N/A N/A cls slug N/A N/A N/A params N/A request params N/A N/A N/A _ N/A params N/A gameSessionId N/A N/A N/A KeyError N/A N/A N/A response status_int 400 N/A N/A ok msg False Missing game information. N/A game N/A get_game_by_slug slug N/A N/A game N/A N/A N/A response status_int 404 N/A N/A ok msg False Unknown game. N/A N/A cls lock N/A N/A N/A cls last_player_id 1 N/A player_id N/A str N/A cls last_player_id N/A sessions N/A cls sessions N/A session session_id None N/A existing_session N/A N/A sessions itervalues N/A N/A N/A N/A existing_session game slug N/A N/A N/A N/A existing_session update_status N/A N/A N/A existing_session can_join player_id N/A N/A session existing_session N/A session_id N/A existing_session session_id N/A N/A N/A session None N/A N/A request_ip N/A get_remote_addr request N/A N/A N/A session add_player player_id request_ip N/A N/A N/A LOG info Player %s joins session %s player_id session_id N/A info N/A server sessionid playerid numplayers N/A N/A session get_player_address N/A request host request_ip player_id session_id player_id N/A N/A session get_num_players N/A N/A info N/A N/A N/A ok data True info N/A classmethod postonly multiplayer_service jsonify leave N/A N/A cls N/A N/A N/A params N/A request params N/A N/A N/A session_id N/A params N/A session N/A player_id N/A params N/A player N/A _ N/A params N/A gameSessionId N/A N/A N/A KeyError N/A N/A N/A response status_int 400 N/A N/A ok msg False Missing session information. N/A sessions N/A cls sessions N/A N/A N/A session N/A sessions N/A session_id N/A N/A N/A KeyError N/A N/A N/A response status_int 404 N/A N/A ok msg False Unknown session. N/A N/A cls lock N/A N/A N/A N/A session has_player player_id N/A N/A request_ip N/A get_remote_addr request N/A stored_ip N/A N/A session get_player_ip player_id N/A N/A N/A stored_ip None N/A request_ip stored_ip N/A N/A N/A response status_int 401 N/A N/A ok False N/A N/A N/A LOG info Player %s leaving session %s player_id session_id N/A N/A N/A session remove_player player_id N/A N/A N/A cls _clean_empty_sessions N/A N/A ok True N/A classmethod postonly multiplayer_service jsonify make_public N/A N/A cls N/A N/A N/A params N/A request params N/A N/A N/A session_id N/A params N/A session N/A N/A N/A KeyError N/A N/A N/A response status_int 400 N/A N/A ok msg False Missing session information. N/A sessions N/A cls sessions N/A N/A N/A session N/A sessions N/A session_id N/A N/A N/A KeyError N/A N/A N/A response status_int 404 N/A N/A ok msg False Unknown session. N/A N/A session public True N/A N/A ok True N/A classmethod postonly multiplayer_service jsonify list_all N/A N/A cls N/A N/A N/A request_host N/A request host N/A sessions N/A N/A session N/A N/A N/A cls sessions itervalues N/A N/A N/A N/A session update_status N/A N/A N/A sessions append N/A N/A session get_info request_host N/A N/A ok data True sessions N/A classmethod multiplayer_service jsonify list N/A N/A cls slug N/A N/A N/A game N/A get_game_by_slug slug N/A N/A game N/A N/A N/A response status_int 404 N/A N/A ok msg False Unknown game. N/A request_host N/A request host N/A sessions N/A N/A session N/A N/A N/A cls sessions itervalues N/A N/A N/A N/A session game slug N/A N/A N/A N/A session update_status N/A N/A N/A sessions append N/A N/A session get_info request_host N/A N/A ok data True sessions N/A classmethod jsonify read N/A N/A cls N/A N/A N/A params N/A request params N/A N/A N/A session_id N/A params N/A session N/A N/A N/A KeyError N/A N/A N/A response status_int 400 N/A N/A ok msg False Missing session information. N/A N/A N/A session N/A N/A cls sessions N/A session_id N/A N/A N/A KeyError N/A N/A N/A response status_int 404 N/A N/A ok msg False Unknown session. N/A N/A N/A session update_status N/A N/A ok data True N/A N/A session get_info N/A request host N/A classmethod multiplayer_service jsonify register N/A N/A cls N/A N/A N/A remote_addr N/A get_remote_addr request N/A N/A N/A params N/A request params N/A host N/A N/A params get host remote_addr N/A hmac N/A params N/A hmac N/A server N/A MultiplayerServer params N/A N/A N/A KeyError N/A N/A N/A response status_int 400 N/A N/A ok msg False Missing server information. N/A N/A ValueError N/A N/A N/A response status_int 400 N/A N/A ok msg False Incorrect server information. N/A calculated_hmac N/A _calculate_registration_hmac N/A cls secret remote_addr N/A N/A hmac calculated_hmac N/A N/A N/A response status_int 400 N/A N/A ok msg False Invalid server information. N/A N/A N/A LOG info Multiplayer server registered from %s as %s:%d remote_addr host N/A server port N/A N/A N/A cls servers N/A host server N/A N/A ok True N/A classmethod postonly multiplayer_service jsonify heartbeat N/A N/A cls N/A N/A N/A remote_addr N/A get_remote_addr request N/A N/A N/A params N/A request params N/A host N/A N/A params get host remote_addr N/A num_players N/A N/A params get numplayers N/A hmac N/A params N/A hmac N/A N/A N/A KeyError N/A N/A N/A response status_int 400 N/A N/A ok msg False Missing server information. N/A calculated_hmac N/A _calculate_heartbeat_hmac N/A cls secret remote_addr num_players None N/A N/A hmac calculated_hmac N/A N/A N/A response status_int 400 N/A N/A ok msg False Invalid server information. N/A N/A N/A server N/A N/A cls servers N/A host N/A N/A N/A KeyError N/A N/A N/A response status_int 404 N/A N/A ok msg False Unknown server IP. N/A N/A N/A N/A N/A server update N/A request params N/A N/A N/A KeyError N/A N/A N/A response status_int 400 N/A N/A ok msg False Missing server information. N/A N/A ValueError N/A N/A N/A response status_int 400 N/A N/A ok msg False Incorrect server information. N/A N/A ok True N/A classmethod postonly multiplayer_service jsonify unregister N/A N/A cls N/A N/A N/A remote_addr N/A get_remote_addr request N/A params N/A request params N/A host N/A N/A params get host remote_addr N/A N/A N/A hmac N/A params N/A hmac N/A N/A N/A KeyError N/A N/A N/A response status_int 400 N/A N/A ok msg False Missing session information. N/A calculated_hmac N/A _calculate_registration_hmac N/A cls secret remote_addr N/A N/A hmac calculated_hmac N/A N/A N/A response status_int 400 N/A N/A ok msg False Invalid server information. N/A N/A N/A server N/A N/A cls servers N/A host N/A N/A N/A cls servers N/A host N/A N/A N/A KeyError N/A N/A N/A response status_int 404 N/A N/A ok msg False Unknown server IP. N/A N/A N/A LOG info Multiplayer server unregistered from %s:%d host N/A server port N/A N/A ok True N/A classmethod postonly multiplayer_service jsonify client_leave N/A N/A cls N/A N/A N/A remote_addr N/A get_remote_addr request N/A params N/A request params N/A N/A N/A session_id N/A params N/A session N/A player_id N/A params N/A client N/A hmac N/A params N/A hmac N/A N/A N/A KeyError N/A N/A N/A response status_int 400 N/A N/A ok msg False Missing session information. N/A calculated_hmac N/A _calculate_client_hmac N/A cls secret remote_addr session_id player_id N/A N/A hmac calculated_hmac N/A N/A N/A response status_int 400 N/A N/A ok msg False Invalid server information. N/A sessions N/A cls sessions N/A N/A N/A session N/A sessions N/A session_id N/A N/A N/A KeyError N/A N/A N/A response status_int 404 N/A N/A ok msg False Unknown session. N/A N/A cls lock N/A N/A N/A N/A session has_player player_id N/A N/A request_ip N/A get_remote_addr request N/A stored_ip N/A N/A session get_player_ip player_id N/A N/A N/A stored_ip None N/A request_ip stored_ip N/A N/A N/A response status_int 401 N/A N/A ok False N/A N/A N/A LOG info Player %s left session %s player_id session_id N/A N/A N/A session remove_player player_id N/A N/A N/A cls _clean_empty_sessions N/A N/A ok True N/A classmethod postonly multiplayer_service jsonify delete_session N/A N/A cls N/A N/A N/A remote_addr N/A get_remote_addr request N/A params N/A request params N/A N/A N/A session_id N/A params N/A session N/A hmac N/A params N/A hmac N/A N/A N/A KeyError N/A N/A N/A response status_int 400 N/A N/A ok msg False Missing session information. N/A calculated_hmac N/A _calculate_session_hmac N/A cls secret remote_addr session_id N/A N/A hmac calculated_hmac N/A N/A N/A response status_int 400 N/A N/A ok msg False Invalid server information. N/A N/A N/A N/A cls lock N/A N/A N/A N/A cls sessions N/A session_id N/A N/A N/A LOG info Deleted empty session: %s session_id N/A N/A N/A KeyError N/A N/A N/A response status_int 404 N/A N/A ok msg False Unknown session. N/A N/A ok True N/A classmethod postonly multiplayer_service jsonify _clean_empty_sessions N/A N/A cls N/A N/A N/A sessions N/A cls sessions N/A to_delete N/A session_id N/A N/A session_id existing_session N/A N/A sessions iteritems N/A 0 N/A N/A existing_session get_num_players N/A session_id to_delete N/A N/A N/A N/A LOG info Deleting empty session: %s session_id N/A N/A sessions N/A session_id N/A classmethod remove_player N/A N/A cls session_id player_id N/A N/A N/A N/A N/A sessions N/A cls sessions N/A session N/A sessions N/A session_id N/A N/A cls lock N/A N/A N/A N/A session has_player player_id N/A N/A N/A N/A LOG info Player %s left session %s player_id session_id N/A N/A N/A session remove_player player_id N/A N/A N/A cls _clean_empty_sessions N/A N/A N/A KeyError N/A N/A N/A classmethod N/A