Module Expr Str ImportFrom alias alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpAnd UnaryOpNot NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIsNot AttributeLoad NameLoad attr NameLoad body Return NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareNotEq AttributeLoad NameLoad attr NameLoad body Return NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Return If UnaryOpNot AttributeLoad NameLoad attr body Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body TryFinally body Expr Call AttributeLoad AttributeLoad NameLoad attr attr finalbody Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad decorator_list
N/A N/A 
    tornadio.pollingsession
    ~~~~~~~~~~~~~~~~~~~~~~~

    This module implements polling session class.

    :copyright: (c) 2011 by the Serge S. Koval, see AUTHORS for more details.
    :license: Apache, see LICENSE for more details.
 tornadio proto session PollingSession N/A N/A session Session N/A N/A This class represents virtual protocol connection for polling transports.

    For disconnected protocols, like XHR-Polling, it will cache outgoing
    messages, if there is on going GET connection - will pass cached/current
    messages to the actual transport protocol implementation.
     __init__ N/A N/A self session_id expiry router args kwargs N/A N/A N/A N/A N/A N/A super PollingSession self __init__ session_id expiry N/A N/A self connection N/A N/A router connection self N/A router io_loop N/A N/A router settings N/A heartbeat_interval N/A N/A self handler None N/A N/A self send_queue N/A N/A N/A self on_open N/A N/A self connection on_open N/A N/A self raw_message N/A N/A self connection raw_message N/A N/A self on_close N/A N/A self connection on_close N/A N/A self reset_heartbeat N/A N/A self connection reset_heartbeat N/A N/A self stop_heartbeat N/A N/A self connection stop_heartbeat N/A N/A self delay_heartbeat N/A N/A self connection delay_heartbeat N/A N/A N/A self send session_id N/A N/A N/A self on_open N/A router request args kwargs N/A on_delete N/A N/A self forced N/A N/A N/A Called by the session management class when item is
        about to get deleted/expired. If item is getting expired,
        there is possibility to force rescheduling of the item
        somewhere in the future, so it won't be deleted.

        Rescheduling is used in case when there is on-going GET
        connection.
         N/A N/A N/A forced N/A N/A self handler None N/A N/A self is_closed N/A N/A N/A N/A self promote N/A N/A N/A N/A self close N/A set_handler N/A N/A self handler N/A N/A N/A Associate request handler with this virtual connection.

        If there is already handler associated, it won't be changed.
         N/A N/A N/A self handler None N/A N/A False N/A N/A self handler handler N/A N/A N/A self promote N/A True N/A remove_handler N/A N/A self handler N/A N/A N/A Remove associated Tornado handler.

        Promotes session in the cache, so time between two calls can't
        be greater than 15 seconds (by default)
         N/A N/A N/A self handler handler N/A N/A False N/A N/A self handler None N/A N/A N/A self promote N/A flush N/A N/A self N/A N/A N/A Send all pending messages to the associated request handler (if any)
         N/A N/A N/A self handler None N/A N/A N/A N/A N/A self send_queue N/A N/A N/A N/A N/A N/A self handler data_available N/A N/A proto encode N/A self send_queue N/A N/A self send_queue N/A N/A send N/A N/A self message N/A N/A N/A Append message to the queue and send it right away, if there's
        connection available.
         N/A N/A N/A N/A self send_queue append message N/A N/A N/A self flush N/A close N/A N/A self N/A N/A N/A Forcibly close connection and notify connection object about that.
         N/A N/A N/A N/A self connection is_closed N/A N/A N/A N/A N/A N/A N/A self connection on_close N/A N/A N/A N/A self connection is_closed True N/A is_closed N/A N/A self N/A N/A N/A Check if connection was closed or not N/A N/A N/A self connection is_closed N/A property N/A