Module Expr Str ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias alias alias alias alias Assign NameStore Dict Str Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Str Str Str Str Str Num Num Num ListLoad Str Str Str Str Str Num NameLoad NameLoad Num NameLoad ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body TryFinally body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If CompareNotEq NameLoad Str body Raise Call NameLoad Num Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr BinOpAdd SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str BinOpAdd SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr GeneratorExp NameLoad comprehension NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str If SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Str Assign NameStore BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Call NameLoad Str NameLoad body Expr Str If CompareLt SubscriptLoad NameLoad Index Num Num body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore BinOpMult SubscriptLoad AttributeLoad NameLoad attr Index Str Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad TupleLoad BinOpMod Str NameLoad NameLoad Call NameLoad keyword NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Continue Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Call NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list
N/A N/A 
    tornadio2.router
    ~~~~~~~~~~~~~~~~

    Transport protocol router and main entry point for all socket.io clients.
 tornado ioloop version_info tornado.web HTTPError tornadio2 persistent polling sessioncontainer session proto preflight stats N/A PROTOCOLS N/A websocket flashsocket xhr-polling htmlfile jsonp-polling N/A persistent TornadioWebSocketHandler N/A persistent TornadioFlashSocketHandler N/A polling TornadioXHRPollingHandler N/A polling TornadioHtmlFileHandler N/A polling TornadioJSONPHandler N/A DEFAULT_SETTINGS N/A session_check_interval session_expiry heartbeat_interval enabled_protocols xhr_polling_timeout websocket_check global_heartbeats client_timeout verify_remote_ip 15 30 12 N/A websocket flashsocket xhr-polling jsonp-polling htmlfile 20 False True 5 True HandshakeHandler N/A N/A preflight PreflightHandler N/A N/A socket.io handshake handler initialize N/A N/A self server N/A N/A N/A N/A self server server N/A get N/A N/A self version N/A args kwargs N/A N/A N/A N/A N/A N/A N/A N/A self server stats connection_opened N/A N/A version 1 N/A N/A N/A HTTPError 503 Invalid socket.io protocol version N/A sess N/A N/A N/A self server create_session N/A self request N/A settings N/A N/A self server settings N/A data N/A %s:%d:%d:%s N/A N/A sess session_id N/A N/A settings N/A heartbeat_interval N/A settings N/A client_timeout N/A N/A settings N/A xhr_polling_timeout N/A settings N/A client_timeout N/A N/A , join N/A t N/A t N/A N/A N/A N/A self server settings get enabled_protocols N/A N/A N/A N/A self server settings N/A global_heartbeats N/A N/A N/A N/A sess reset_heartbeat N/A jsonp N/A N/A self get_argument jsonp None N/A N/A jsonp None N/A N/A N/A N/A self set_header Content-Type application/javascript; charset=UTF-8 N/A data N/A io.j[%s](%s); N/A jsonp N/A N/A proto json_dumps data N/A N/A N/A N/A self set_header Content-Type text/plain; charset=UTF-8 N/A N/A N/A self preflight N/A N/A N/A self write data N/A N/A N/A self finish N/A N/A N/A N/A N/A N/A self server stats connection_closed N/A N/A TornadioRouter N/A object N/A N/A TornadIO2 router implementation __init__ N/A N/A self connection user_settings namespace io_loop N/A N/A dict socket.io None N/A N/A Constructor.

        `connection`
            SocketConnection class instance
        `user_settings`
            Settings
        `namespace`
            Router namespace, defaulted to 'socket.io'
        `io_loop`
            IOLoop instance, optional.
         N/A N/A N/A version_info N/A 0 2 N/A N/A N/A Exception TornadIO2 requires Tornado 2.0 or higher. N/A N/A self _connection connection N/A N/A self io_loop N/A io_loop N/A N/A N/A ioloop IOLoop instance N/A N/A self settings N/A N/A DEFAULT_SETTINGS copy N/A user_settings N/A N/A N/A N/A N/A self settings update user_settings N/A N/A self _sessions N/A N/A sessioncontainer SessionContainer N/A check_interval N/A N/A N/A self settings N/A session_check_interval 1000 N/A N/A self _sessions_cleanup N/A N/A ioloop PeriodicCallback N/A N/A self _sessions expire check_interval N/A self io_loop N/A N/A N/A N/A self _sessions_cleanup start N/A N/A self stats N/A N/A stats StatsCollector N/A N/A N/A N/A self stats start N/A self io_loop N/A N/A self _transport_urls N/A N/A N/A /%s/(?P<version>\d+)/$ namespace HandshakeHandler N/A dict server self N/A t N/A N/A N/A self settings get enabled_protocols N/A dict N/A N/A proto N/A N/A PROTOCOLS get t N/A N/A proto N/A N/A N/A N/A N/A N/A self _transport_urls append N/A N/A /%s/1/%s/(?P<session_id>[^/]+)/? N/A namespace t proto N/A dict server self N/A urls N/A N/A self N/A N/A N/A List of the URLs to be added to the Tornado application N/A N/A self _transport_urls N/A property apply_routes N/A N/A self routes N/A N/A N/A Feed list of the URLs to the routes list. Returns list N/A N/A N/A routes extend N/A self _transport_urls N/A routes N/A create_session N/A N/A self request N/A N/A N/A Creates new session object and returns it.

        `request`
            Request that created the session. Will be used to get query string
            parameters and cookies.
         N/A s N/A N/A session Session N/A self _connection self request N/A N/A N/A self settings get session_expiry N/A N/A N/A N/A self _sessions add s N/A s N/A get_session N/A N/A self session_id N/A N/A N/A Get session by session id
         N/A N/A N/A N/A self _sessions get session_id N/A N/A