Module Expr Str ImportFrom alias alias ImportFrom alias TryExcept body ImportFrom alias alias handlers ExceptHandler type NameLoad name NameStore body ImportFrom alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Return AttributeLoad AttributeLoad NameLoad attr attr orelse Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If Call AttributeLoad NameLoad attr body Raise Call NameLoad orelse If SubscriptLoad AttributeLoad NameLoad attr Index Str body Raise Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str orelse Return SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Str body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpAdd AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Str Assign NameStore ListLoad While CompareNotEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareGt NameLoad Num body Assign NameStore SubscriptLoad NameLoad Slice NameLoad TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore SubscriptLoad NameLoad Slice NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Break orelse Break Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Dict Str Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict Str Str Str NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Dict Str Str Str NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore NameLoad body If BoolOpAnd Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str body If Call AttributeLoad NameLoad attr Str body If SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad orelse If BoolOpAnd Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list decorator_list Import alias Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr NameLoad body Return Num orelse Return Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore NameLoad body If Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad orelse Raise Call NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Str body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Pass decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore NameLoad TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad ExceptHandler body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad If NameLoad body TryExcept body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad ExceptHandler body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad handlers ExceptHandler body Pass decorator_list decorator_list
N/A N/A 
  Copyright (c) 2006 Jan-Klaas Kollhof

  This file is part of jsonrpc.

  jsonrpc is free software; you can redistribute it and/or modify
  it under the terms of the GNU Lesser General Public License as published by
  the Free Software Foundation; either version 2.1 of the License, or
  (at your option) any later version.

  This software is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU Lesser General Public License for more details.

  You should have received a copy of the GNU Lesser General Public License
  along with this software; if not, write to the Free Software
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 threading Event Lock errors * N/A N/A json JSONDecoder JSONEncoder N/A N/A N/A ImportError N/A e N/A simplejson JSONDecoder JSONEncoder JSONRPCEncoder N/A JSONEncoder N/A default N/A N/A self obj N/A N/A N/A N/A isinstance obj JSONRPCError N/A N/A N/A N/A obj __class__ __name__ N/A N/A N/A N/A JSONEncoder default self obj N/A N/A Timeout N/A Exception N/A N/A N/A ResponseEvent N/A N/A N/A Event which is fired when the response is returned for a request.

        For each request sent this event is created.
        An application can wait for the event to create a blocking request.
     __init__ N/A N/A self N/A N/A N/A N/A self __evt N/A Event N/A waiting N/A N/A self N/A N/A N/A N/A N/A N/A N/A self __evt isSet N/A waitForResponse N/A N/A self timeOut N/A None N/A N/A blocks until the response arrived or timeout is reached. N/A N/A N/A N/A self __evt wait timeOut N/A N/A N/A self waiting N/A N/A N/A Timeout N/A N/A N/A N/A self response N/A error N/A N/A N/A Exception N/A N/A self response N/A error N/A N/A N/A N/A self response N/A result N/A handleResponse N/A N/A self resp N/A N/A N/A N/A self response resp N/A N/A N/A N/A self __evt set N/A N/A SimpleMessageHandler N/A N/A __init__ N/A N/A self DecoderClass EncoderClass messageDelimiter N/A JSONDecoder JSONRPCEncoder N/A N/A N/A self decoder N/A DecoderClass N/A N/A self encoder N/A EncoderClass N/A N/A self partialData N/A N/A self respEvents N/A N/A N/A self respLock N/A Lock N/A N/A self messageDelimiter messageDelimiter N/A close N/A N/A self N/A N/A N/A N/A send N/A N/A self data N/A N/A N/A N/A sendMessage N/A N/A self msg N/A N/A N/A N/A N/A self send N/A N/A N/A N/A self encoder encode msg N/A self messageDelimiter N/A handlePartialData N/A N/A self data N/A N/A N/A data N/A N/A self partialData N/A N/A N/A N/A data replace replace N/A msgs N/A N/A N/A data N/A N/A pos N/A N/A data find { N/A N/A pos -1 N/A N/A data N/A data N/A pos N/A N/A N/A N/A obj pos N/A N/A N/A self decoder raw_decode data N/A data N/A data N/A pos N/A N/A N/A msgs append obj N/A N/A N/A N/A N/A N/A N/A N/A self partialData data N/A N/A N/A self handleMessages msgs N/A sendNotify N/A N/A self name args N/A N/A N/A sends a notification object to the peer N/A N/A N/A self sendMessage N/A method params name args N/A sendRequest N/A N/A self name args N/A N/A N/A sends a request to the peer N/A N/A respEvt id N/A N/A self newResponseEvent N/A N/A N/A self sendMessage N/A id method params id name args N/A respEvt N/A sendResponse N/A N/A self id result error N/A N/A N/A sends a response to the peer N/A N/A N/A self sendMessage N/A result error id result error id N/A newResponseEvent N/A N/A self N/A N/A N/A creates a response event and adds it to a waiting list
           When the reponse arrives it will be removed from the list.
         N/A respEvt N/A ResponseEvent N/A N/A N/A N/A self respLock acquire N/A eid N/A id respEvt N/A N/A N/A self respEvents N/A eid respEvt N/A N/A N/A N/A self respLock release N/A N/A respEvt eid N/A handleMessages N/A N/A self msgs N/A N/A N/A msg msgs N/A N/A N/A N/A N/A msg has_key method N/A N/A msg has_key params N/A N/A N/A N/A msg has_key id N/A N/A N/A msg N/A id N/A N/A N/A N/A self handleRequest msg N/A N/A N/A N/A self handleNotification msg N/A N/A N/A N/A self handleNotification msg N/A N/A N/A N/A N/A msg has_key result N/A N/A msg has_key error N/A N/A N/A N/A self handleResponse msg N/A N/A N/A N/A self sendResponse None N/A InvalidJSONMessage N/A N/A N/A self close N/A handleResponse N/A N/A self resp N/A N/A N/A handles a response by fireing the response event for the response coming in N/A id N/A resp N/A id N/A evt N/A N/A self respEvents N/A id N/A N/A N/A self respEvents N/A id N/A N/A N/A evt handleResponse resp N/A handleRequest N/A N/A self request N/A N/A N/A N/A handleNotification N/A N/A self notification N/A N/A N/A N/A N/A N/A re N/A NameAllowedRegExp N/A N/A re compile ^[a-zA-Z]\w*$ nameAllowed N/A N/A name N/A N/A N/A checks if a name is allowed.
     N/A N/A N/A NameAllowedRegExp match name N/A N/A 1 N/A N/A 0 N/A getMethodByName N/A N/A obj name N/A N/A N/A searches for an object with the name given inside the object given.
       "obj.child.meth" will return the meth obj.
     N/A N/A N/A obj N/A N/A obj _getMethodByName name N/A N/A N/A N/A names N/A N/A name split . N/A name names N/A N/A N/A nameAllowed name N/A N/A obj N/A getattr obj name N/A N/A N/A MethodNameNotAllowed N/A obj N/A SimpleServiceHandler N/A SimpleMessageHandler N/A __init__ N/A N/A self service DecoderClass EncoderClass messageDelimiter N/A JSONDecoder JSONRPCEncoder N/A N/A N/A self service service N/A N/A N/A SimpleMessageHandler __init__ self DecoderClass EncoderClass messageDelimiter N/A N/A N/A N/A N/A service _newConnection self N/A N/A N/A N/A N/A close N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self service _closingConnection self N/A N/A N/A N/A N/A handleRequest N/A N/A self req N/A N/A N/A handles a request by calling the appropriete method the service exposes N/A name N/A req N/A method N/A params N/A req N/A params N/A id N/A req N/A id N/A obj None N/A N/A N/A obj N/A getMethodByName N/A self service name N/A N/A N/A MethodNameNotAllowed N/A e N/A N/A N/A N/A self sendResponse id None e N/A N/A N/A N/A N/A self sendResponse id None N/A MethodNotFound N/A obj N/A N/A N/A N/A rslt N/A obj params N/A N/A N/A self sendResponse id rslt None N/A N/A N/A TypeError N/A N/A s N/A getTracebackStr N/A N/A N/A self sendResponse id None N/A InvalidMethodParameters N/A N/A N/A s N/A getTracebackStr N/A N/A N/A self sendResponse id None s N/A handleNotification N/A N/A self req N/A N/A N/A handles a notification request by calling the appropriete method the service exposes N/A name N/A req N/A method N/A params N/A req N/A params N/A N/A N/A obj N/A getMethodByName N/A self service name N/A rslt N/A obj params N/A N/A N/A N/A N/A N/A