Module Import alias Import alias ClassDef bases NameLoad body Assign NameStore Num Assign NameStore Num Assign NameStore Num decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpMod BinOpAdd AttributeLoad NameLoad attr Num Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assert Call NameLoad NameLoad AttributeLoad NameLoad attr Assert Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assert Call NameLoad NameLoad NameLoad Assert BoolOpAnd CompareLtE Num NameLoad CompareLtE NameLoad Num Assert BoolOpOr CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assert Call NameLoad NameLoad AttributeLoad NameLoad attr Assert Call NameLoad NameLoad NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Num TryExcept body Assign NameStore SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Return Expr Call NameLoad SubscriptLoad NameLoad Slice Num decorator_list decorator_list ImportFrom alias Import alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad AttributeLoad NameLoad attr Assign NameStore ListLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore Num Delete SubscriptDel AttributeLoad NameLoad attr Slice NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad BinOpAdd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body While UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body AugAssignAdd AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str While BoolOpOr NameLoad CompareEq AttributeLoad NameLoad attr Num body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If UnaryOpNot NameLoad body If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Break Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Return CompareGt AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AugAssignAdd AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameLoad TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Return Assert CompareNotIn NameLoad AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad TupleLoad NameLoad NameLoad AugAssignAdd AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AugAssignAdd AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Assert CompareGt AttributeLoad NameLoad attr Num AugAssignSub AttributeStore NameLoad attr Num Return NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareGt AttributeLoad NameLoad attr Num AugAssignSub AttributeStore NameLoad attr Num handlers ExceptHandler type NameLoad body Return NameLoad Assign TupleStore NameStore NameStore NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr Lambda arguments args NameParam defaults NameLoad orelse Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad While NameLoad body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Assign TupleStore NameStore NameStore NameLoad If CompareIs NameLoad NameLoad body Return NameLoad Raise Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body While NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad ListLoad Num If UnaryOpNot NameLoad body Break Expr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A msgpack N/A six MessageType N/A object N/A N/A REQUEST 0 N/A RESPONSE 1 N/A NOTIFY 2 N/A MessageEncoder N/A object N/A N/A msgpack-rpc encoder/decoder.
    intended to be transport-agnostic.
     __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super MessageEncoder self __init__ N/A N/A self _packer N/A N/A msgpack Packer encoding None N/A N/A self _unpacker N/A N/A msgpack Unpacker encoding None N/A N/A self _next_msgid 0 N/A _create_msgid N/A N/A self N/A N/A N/A this_id N/A self _next_msgid N/A N/A self _next_msgid N/A N/A N/A self _next_msgid 1 4294967295 N/A this_id N/A create_request N/A N/A self method params N/A N/A N/A N/A isinstance method N/A six binary_type N/A N/A isinstance params list N/A msgid N/A N/A self _create_msgid N/A N/A N/A N/A N/A self _packer pack N/A N/A MessageType REQUEST msgid method params msgid N/A create_response N/A N/A self msgid error result N/A None None N/A N/A N/A isinstance msgid int N/A N/A N/A 0 msgid N/A msgid 4294967295 N/A N/A N/A error None N/A result None N/A N/A N/A N/A self _packer pack N/A N/A MessageType RESPONSE msgid error result N/A create_notification N/A N/A self method params N/A N/A N/A N/A isinstance method N/A six binary_type N/A N/A isinstance params list N/A N/A N/A N/A self _packer pack N/A N/A MessageType NOTIFY method params N/A get_and_dispatch_messages N/A N/A self data disp_table N/A N/A N/A dissect messages from a raw stream data.
        disp_table[type] should be a callable for the corresponding
        MessageType.
         N/A N/A N/A N/A self _unpacker feed data N/A m N/A self _unpacker N/A N/A N/A N/A self _dispatch_message m disp_table N/A _dispatch_message N/A N/A self m disp_table N/A N/A N/A type N/A m N/A 0 N/A N/A N/A f N/A disp_table N/A type N/A N/A N/A KeyError N/A N/A N/A N/A f N/A m N/A 1 N/A N/A collections deque N/A select EndPoint N/A object N/A N/A An endpoint
    *sock* is a socket-like.  it can be either blocking or non-blocking.
     __init__ N/A N/A self sock encoder disp_table N/A None None N/A N/A N/A encoder None N/A N/A encoder N/A MessageEncoder N/A N/A self _encoder encoder N/A N/A self _sock sock N/A N/A disp_table None N/A N/A N/A self _table N/A N/A MessageType REQUEST N/A MessageType RESPONSE N/A MessageType NOTIFY N/A self _enqueue_incoming_request N/A self _enqueue_incoming_response N/A self _enqueue_incoming_notification N/A N/A N/A self _table disp_table N/A N/A self _send_buffer N/A bytearray N/A N/A self _pending_requests N/A set N/A N/A self _requests N/A deque N/A N/A self _notifications N/A deque N/A N/A self _responses N/A N/A N/A self _incoming 0 N/A N/A self _closed_by_peer False N/A selectable N/A N/A self N/A N/A N/A rlist N/A N/A self _sock N/A wlist N/A N/A N/A self _send_buffer N/A N/A N/A N/A wlist append N/A self _sock N/A N/A rlist wlist N/A process_outgoing N/A N/A self N/A N/A N/A N/A N/A sent_bytes N/A N/A N/A self _sock send N/A self _send_buffer N/A N/A N/A IOError N/A N/A sent_bytes 0 N/A N/A N/A self _send_buffer N/A sent_bytes N/A process_incoming N/A N/A self N/A N/A N/A N/A N/A self receive_messages all True N/A process N/A N/A self N/A N/A N/A N/A N/A self process_outgoing N/A N/A N/A self process_incoming N/A block N/A N/A self N/A N/A N/A N/A rlist wlist N/A N/A self selectable N/A N/A N/A select select rlist wlist N/A rlist wlist N/A serve N/A N/A self N/A N/A N/A N/A N/A self _closed_by_peer N/A N/A N/A N/A self block N/A N/A N/A self process N/A _send_message N/A N/A self msg N/A N/A N/A N/A self _send_buffer msg N/A N/A N/A self process_outgoing N/A send_request N/A N/A self method params N/A N/A N/A Send a request
         N/A N/A msg msgid N/A N/A N/A self _encoder create_request method params N/A N/A N/A self _send_message msg N/A N/A N/A N/A self _pending_requests add msgid N/A msgid N/A send_response N/A N/A self msgid error result N/A None None N/A N/A Send a response
         N/A msg N/A N/A N/A self _encoder create_response msgid error result N/A N/A N/A self _send_message msg N/A send_notification N/A N/A self method params N/A N/A N/A Send a notification
         N/A msg N/A N/A N/A self _encoder create_notification method params N/A N/A N/A self _send_message msg N/A receive_messages N/A N/A self all N/A False N/A N/A Try to receive some messages.
        Received messages are put on the internal queues.
        They can be retrieved using get_xxx() methods.
        Returns True if there's something queued for get_xxx() methods.
         N/A N/A all N/A N/A self _incoming 0 N/A N/A N/A N/A packet N/A N/A N/A self _sock recv 4096 N/A N/A N/A IOError N/A N/A packet None N/A N/A packet N/A N/A N/A packet None N/A N/A N/A self _closed_by_peer True N/A N/A N/A N/A N/A self _encoder get_and_dispatch_messages packet N/A self _table N/A N/A N/A self _incoming 0 N/A _enqueue_incoming_request N/A N/A self m N/A N/A N/A N/A N/A N/A self _requests append m N/A N/A self _incoming 1 N/A _enqueue_incoming_response N/A N/A self m N/A N/A N/A N/A msgid error result m N/A N/A N/A N/A N/A N/A self _pending_requests remove msgid N/A N/A N/A KeyError N/A N/A N/A N/A msgid N/A self _responses N/A N/A N/A self _responses N/A msgid N/A error result N/A N/A self _incoming 1 N/A _enqueue_incoming_notification N/A N/A self m N/A N/A N/A N/A N/A N/A self _notifications append m N/A N/A self _incoming 1 N/A _get_message N/A N/A self q N/A N/A N/A N/A N/A m N/A N/A q popleft N/A N/A N/A self _incoming 0 N/A N/A self _incoming 1 N/A m N/A N/A N/A IndexError N/A N/A None N/A get_request N/A N/A self N/A N/A N/A N/A N/A self _get_message N/A self _requests N/A get_response N/A N/A self msgid N/A N/A N/A N/A N/A m N/A N/A N/A self _responses pop msgid N/A N/A N/A self _incoming 0 N/A N/A self _incoming 1 N/A N/A N/A KeyError N/A N/A None N/A N/A error result m N/A N/A result error N/A get_notification N/A N/A self N/A N/A N/A N/A N/A self _get_message N/A self _notifications N/A N/A RPCError N/A Exception N/A N/A an error from server
     __init__ N/A N/A self error N/A N/A N/A N/A self _error error N/A get_value N/A N/A self N/A N/A N/A N/A self _error N/A __str__ N/A N/A self N/A N/A N/A N/A str N/A self _error N/A N/A Client N/A object N/A N/A a convenient class for a pure rpc client
    *sock* is a socket-like.  it should be blocking.
     __init__ N/A N/A self sock encoder notification_callback N/A None None N/A N/A N/A self _endpoint N/A EndPoint sock encoder N/A N/A notification_callback None N/A N/A N/A self _notification_callback N/A N/A N/A n N/A None N/A N/A N/A self _notification_callback notification_callback N/A _process_input_notification N/A N/A self N/A N/A N/A n N/A N/A N/A self _endpoint get_notification N/A n N/A N/A N/A N/A self _notification_callback n N/A _process_input_request N/A N/A self N/A N/A N/A N/A N/A N/A self _endpoint get_request N/A call N/A N/A self method params N/A N/A N/A synchronous call.
        send a request and wait for a response.
        return a result.  or raise RPCError exception if the peer
        sends us an error.
         N/A msgid N/A N/A N/A self _endpoint send_request method params N/A True N/A N/A N/A N/A N/A N/A self _endpoint receive_messages N/A N/A N/A EOFError EOF N/A res N/A N/A N/A self _endpoint get_response msgid N/A res N/A N/A N/A result error res N/A N/A error None N/A N/A result N/A N/A RPCError error N/A N/A N/A self _process_input_notification N/A N/A N/A self _process_input_request N/A send_notification N/A N/A self method params N/A N/A N/A send a notification to the peer.
         N/A N/A N/A N/A self _endpoint send_notification method params N/A receive_notification N/A N/A self N/A N/A N/A wait for the next incoming message.
        intended to be used when we have nothing to send but want to receive
        notifications.
         N/A N/A N/A N/A N/A self _endpoint receive_messages N/A N/A N/A EOFError EOF N/A N/A N/A self _process_input_notification N/A N/A N/A self _process_input_request N/A peek_notification N/A N/A self N/A N/A N/A True N/A N/A N/A rlist _wlist N/A N/A N/A self _endpoint selectable N/A N/A rlist _wlist _xlist N/A N/A select select rlist N/A N/A 0 N/A N/A rlist N/A N/A N/A N/A N/A self receive_notification N/A N/A