#NEWLINE# def __init__( self , url_name = 'root' , restrict_introspection = False ) : #NEWLINE# #INDENT# self . url_name = url_name #NEWLINE# self . rpcmethods = [ ] #NEWLINE# self . jsonrpcdispatcher = JSONRPCDispatcher ( ) #NEWLINE# self . xmlrpcdispatcher = XMLRPCDispatcher ( ) #NEWLINE# if ( not restrict_introspection ) : #NEWLINE# #INDENT# self . register_method ( restrict_introspection . system_listmethods ) #NEWLINE# self . register_method ( self . system_methodhelp ) #NEWLINE# self . register_method ( self . system_methodsignature ) #NEWLINE# self . register_method ( self . system_describe )