o w[e @sjdZddlZddlZddlZddlmZddlmZddlZddl Z ddl m Z ddl Z ddlmZzddlZWn eyCdZYnwddZd ejdd Zd Zd Zd ZdZdZdZdZd ZdZdZdZdZ dZ!dZ"Gddde#Z$Gddde$Z%Gddde$Z&Gddde$Z'e(Z)Z*edddZ+d d!Z,e,d"rd#d$Z-n e,d%rd&d$Z-nd'd$Z-[+[,d(d)Z.Gd*d+d+Z/d,d-Z0d.d/Z1Gd0d1d1Z2d2d3Z3e/e2fZ4Gd4d5d5Z5Gd6d7d7Z6Gd8d9d9Z7Gd:d;d;Z8Gdd?d?Z:dZ;Z  @d[dCdDZ?dZdEdFZ@dGdHZAd\dJdKZBGdLdMdMer*ejCneDZEGdNdOdOZFGdPdQdQZGGdRdSdSeGZHGdTdUdUZIeIZJeKdVkreIdWZLz eMeLjNOWne$yvZPz eMdXePWYdZP[PndZP[Pwwe:eLZQeQReQSd dYeQTdd zeQD]ZUeMeUqWdSe$yZPz eMdXePWYdZP[PdSdZP[PwwdS)]a An XML-RPC client interface for Python. The marshalling and response parser code can also be used to implement XML-RPC servers. Exported exceptions: Error Base class for client errors ProtocolError Indicates an HTTP protocol error ResponseError Indicates a broken response package Fault Indicates an XML-RPC fault package Exported classes: ServerProxy Represents a logical connection to an XML-RPC server MultiCall Executor of boxcared xmlrpc requests DateTime dateTime wrapper for an ISO 8601 string or time tuple or localtime integer value to generate a "dateTime.iso8601" XML-RPC value Binary binary data wrapper Marshaller Generate an XML-RPC params chunk from a Python data structure Unmarshaller Unmarshal an XML-RPC response from incoming XML event message Transport Handles an HTTP transaction to an XML-RPC server SafeTransport Handles an HTTPS transaction to an XML-RPC server Exported constants: (none) Exported functions: getparser Create instance of the fastest available parser & attach to an unmarshalling object dumps Convert an argument tuple or a Fault instance to an XML-RPC request (or response, if the methodresponse option is used). loads Convert an XML-RPC packet to unmarshalled data plus a method name (None if not present). N)datetime)Decimal)expat)BytesIOcCs$|dd}|dd}|ddS)N&z&z>)replace)sr $/usr/lib/python3.10/xmlrpc/client.pyescapes   r z%d.%diiiDii ipiԁiCiBiiic@seZdZdZejZdS)ErrorzBase class for client errors.N)__name__ __module__ __qualname____doc__object__str__r r r r rs rc@ eZdZdZddZddZdS) ProtocolErrorz!Indicates an HTTP protocol error.cCs&t|||_||_||_||_dSN)r__init__urlerrcodeerrmsgheaders)selfrrrrr r r rs  zProtocolError.__init__cCsd|jj|j|j|jfS)Nz<%s for %s: %s %s>) __class__rrrrrr r r __repr__szProtocolError.__repr__Nrrrrrr!r r r r rs rc@seZdZdZdS) ResponseErrorz$Indicates a broken response package.N)rrrrr r r r r#sr#c@r)Faultz#Indicates an XML-RPC fault package.cKst|||_||_dSr)rr faultCode faultString)rr%r&extrar r r r  zFault.__init__cCd|jj|j|jfS)Nz <%s %s: %r>)rrr%r&r r r r r!szFault.__repr__Nr"r r r r r$s r$cCs&zt|dkWStyYdSw)N0001F)_day0strftime ValueError)fmtr r r _try s  r0z%YcC |dSN%Y%m%dT%H:%M:%Sr-valuer r r _iso8601_format r7z%4YcCr1)Nz%4Y%m%dT%H:%M:%Sr4r5r r r r7r8cCs|ddS)Nr3)r-zfillr5r r r r7cCsLt|tr t|St|ttjfs|dkrt}t|}d|ddS)Nrz%04d%02d%02dT%02d:%02d:%02d) isinstancerr7tupletime struct_time localtimer5r r r _strftimes  rBc@sreZdZdZdddZddZddZd d Zd d Zd dZ ddZ ddZ ddZ ddZ ddZddZdS)DateTimezDateTime wrapper for an ISO 8601 string or time tuple or localtime integer value to generate 'dateTime.iso8601' XML-RPC value. rcCs"t|tr ||_dSt||_dSr)r=strr6rB)rr6r r r r.s  zDateTime.__init__cCst|tr|j}|j}||fSt|tr|j}t|}||fSt|tr-|j}|}||fSt|dr>|}|}||fS|}t}||fS)N timetuple) r=rCr6rr7rDhasattrrENotImplementedrotherr or r r make_comparable4s&    zDateTime.make_comparablecCs"||\}}|tur tS||kSrrKrGrHr r r __lt__FzDateTime.__lt__cCs"||\}}|tur tS||kSrrLrHr r r __le__LrNzDateTime.__le__cCs"||\}}|tur tS||kSrrLrHr r r __gt__RrNzDateTime.__gt__cCs"||\}}|tur tS||kSrrLrHr r r __ge__XrNzDateTime.__ge__cCs"||\}}|tur tS||kSrrLrHr r r __eq__^rNzDateTime.__eq__cCst|jdSr2)r?strptimer6r r r r rEdzDateTime.timetuplecC|jSrr5r r r r rlzDateTime.__str__cCsd|jj|jt|fS)Nz<%s %r at %#x>)rrr6idr r r r r!oszDateTime.__repr__cCst||_dSr)rDstripr6rdatar r r decoderzDateTime.decodecCs$|d||j|ddSNzz )writer6)routr r r encodeus  zDateTime.encodeN)r)rrrrrrKrMrOrPrQrRrErr!r[r`r r r r rC(s  rCcCt}|||Sr)rCr[rZr6r r r _datetimez rccCs t|dSr2)rrS)rZr r r _datetime_type rec@s:eZdZdZd ddZddZddZd d Zd d ZdS)BinaryzWrapper for binary data.NcCs>|durd}nt|ttfstd|jjt|}||_dS)Nz#expected bytes or bytearray, not %s)r=bytes bytearray TypeErrorrrrZrYr r r rs zBinary.__init__cCs t|jdS)Nzlatin-1)rDrZr r r r rrfzBinary.__str__cCst|tr|j}|j|kSr)r=rgrZ)rrIr r r rRr(z Binary.__eq__cCst||_dSr)base64 decodebytesrZrYr r r r[r;z Binary.decodecCs4|dt|j}||d|ddSNz asciiz )r^rl encodebytesrZr[)rr_encodedr r r r`s  z Binary.encoder) rrrrrrrRr[r`r r r r rgs  rgcCrar)rgr[rbr r r _binaryrdrrc@$eZdZddZddZddZdS) ExpatParsercCsDtdd|_}||_|j|_|j|_|j|_ d}| |ddSr) r ParserCreate_parser_targetstartStartElementHandlerendEndElementHandlerrZCharacterDataHandlerxml)rtargetparserencodingr r r rszExpatParser.__init__cCs|j|ddSNF)rvParserYr r r feedr\zExpatParser.feedcCs8z|j}Wn tyYdSw|`|`|dddS)NrhT)rvAttributeErrorrwr)rrr r r closes  zExpatParser.closeN)rrrrrrr r r r rts rtc@seZdZdZdddZiZddZdd Zd d Zeee d<d d Z e ee <ddZ e ee <e ZddZeee<efddZeee<ddZeee<eee<ddZeee<eee<efddZeee<ddZeee<ddZeee<eee <eed<dS) MarshalleravGenerate an XML-RPC params chunk from a Python data structure. Create a Marshaller instance for each set of parameters, and use the "dumps" method to convert your data (represented as a tuple) to an XML-RPC params chunk. To write a fault response, pass a Fault instance instead. You may prefer to use the "dumps" module function for this purpose. NFcCsi|_d|_||_||_dSr)memorZr allow_none)rrrr r r rs zMarshaller.__init__cCsg}|j}|j}t|tr |d||j|jd||dn|d|D]}|d||||dq&|dd|}|S) Nz )r%r&z z z z z )append_Marshaller__dumpr=r$r%r&join)rvaluesr_r^dumpvresultr r r dumpss&     zMarshaller.dumpscCsz |jt|}Wn2ty;t|dstdt|t|jD]}||jvr3tdt|q"|jd}Ynw||||dS)N__dict__zcannot marshal %s objects_arbitrary_instance)dispatchtypeKeyErrorrFrk__mro__keys)rr6r^ftype_r r r __dumps   zMarshaller.__dumpcCs|jstd|ddS)Nz0cannot marshal None unless allow_none is enabledz)rrkrr6r^r r r dump_nils zMarshaller.dump_nilcCs$|d||r dp d|ddS)Nz10z r rr r r dump_bool s zMarshaller.dump_boolcCs<|tks|tkr td|d|tt||ddS)Nzint exceeds XML-RPC limitsz z )MAXINTMININT OverflowErrorrDintrr r r dump_long&s  zMarshaller.dump_longcC |d|t||ddS)Nzz )reprrr r r dump_double1  zMarshaller.dump_doublecCs |d||||ddS)Nzz r )rr6r^r r r r dump_unicode7rzMarshaller.dump_unicodecCs,|dt|}||d|ddSrn)rlrpr[)rr6r^rqr r r dump_bytes=s  zMarshaller.dump_bytescCsZt|}||jvr tdd|j|<|j}|d|D]}|||q|d|j|=dS)Nz"cannot marshal recursive sequencesz z )rWrrkr)rr6r^irrr r r dump_arrayEs    zMarshaller.dump_arraycCst|}||jvr tdd|j|<|j}|d|D]"\}}|dt|ts.td|d||||||dq|d|j|=dS)Nz%cannot marshal recursive dictionariesz z zdictionary key must be stringz%s z z )rWrrkritemsr=rD)rr6r^r rrkrr r r dump_structSs      zMarshaller.dump_structcCrr])rBrr r r dump_datetimeerzMarshaller.dump_datetimecCs4|jtvr||_|||`dS||j|dSr)rWRAPPERSr^r`rrrr r r dump_instanceks  zMarshaller.dump_instancerr)!rrrrrrrrrrrboolrrdump_intrfloatr rrDrrirjrr>listrdictrrrrCrgr r r r rs>       rc@sneZdZdZdEddZddZddZd d Zd d Zd dZ ddZ ddZ iZ ddZ e e d<ddZee d<ddZee d<ee d<ee d<ee d<ee d<ee d <d!d"Zee d#<ee d$<d%d&Zee d'<d(d)Zee d*<ee d+<d,d-Zee d.<d/d0Zee d1<d2d3Zee d4<d5d6Zee d7<d8d9Zee d:<d;d<Zee d=<d>d?Zee d@<dAdBZee dC<dDS)F UnmarshalleraUnmarshal an XML-RPC response, based on incoming XML event messages (start, data, end). Call close() to get the resulting data structure. Note that this reader is fairly tolerant, and gladly accepts bogus XML-RPC data without complaining (but not bogus XML). FcCsHd|_g|_g|_g|_d|_d|_d|_|jj|_|p||_||_ dS)NFutf-8) _type_stack_marks_data_value _methodname _encodingr _use_datetime _use_bytes)r use_datetimeuse_builtin_typesr r r rs   zUnmarshaller.__init__cCs>|jdus|jr t|jdkrtdi|jdt|jS)Nfaultrr )rrr#r$rr>r r r r rs   zUnmarshaller.closecCrUr)rr r r r getmethodnamerVzUnmarshaller.getmethodnamecC ||_dSr)r)rr standaloner r r r}r8zUnmarshaller.xmlcCshd|vr |dd}|dks|dkr|jt|jg|_|jr-||jvr-td||dk|_dS)N:arraystructzunknown tag %rr6) splitrrlenrrrrr#)rtagattrsr r r rxs zUnmarshaller.startcCs|j|dSr)rr)rtextr r r rZr;zUnmarshaller.datac Csrz|j|}Wn(ty/d|vrYdSz |j|dd}Wn ty,YYdSwYnw||d|jS)Nrrr)rrrrr)rrrr r r rzs  zUnmarshaller.endc Csjz|j|}Wn(ty/d|vrYdSz |j|dd}Wn ty,YYdSwYnw|||S)Nrr)rrr)rrrZrr r r end_dispatchs   zUnmarshaller.end_dispatchcCs|dd|_dSNr)rrrYr r r end_nils  zUnmarshaller.end_nilnilcCs:|dkr |dn|dkr|dntdd|_dS)NrFrTzbad boolean valuer)rrkrrYr r r end_booleans    zUnmarshaller.end_booleanbooleancC|t|d|_dSr)rrrrYr r r end_int zUnmarshaller.end_inti1i2i4i8r bigintegercCrr)rrrrYr r r end_doublerzUnmarshaller.end_doubledoublercCrr)rrrrYr r r end_bigdecimalrzUnmarshaller.end_bigdecimal bigdecimalcCs&|jr ||j}||d|_dSr)rr[rrrYr r r end_strings   zUnmarshaller.end_stringstringnamecCs.|j}|j|dg|j|d<d|_dSr)rpoprr)rrZmarkr r r end_arrays  zUnmarshaller.end_arrayrcCs`|j}i}|j|d}tdt|dD] }||d|||<q|g|j|d<d|_dS)Nrrr*)rrrrangerr)rrZrrrrr r r end_struct s  zUnmarshaller.end_structrcCs6t}||d|jr|j}||d|_dS)Nror)rgr[r`rrZrrrrZr6r r r end_base64s   zUnmarshaller.end_base64rlcCs,t}|||jrt|}||dSr)rCr[rrerrr r r end_dateTime s  zUnmarshaller.end_dateTimezdateTime.iso8601cCs|jr ||dSdSr)rrrYr r r end_value(szUnmarshaller.end_valuer6cC d|_dS)NparamsrrYr r r end_params/r8zUnmarshaller.end_paramsrcCr)NrrrYr r r end_fault3r8zUnmarshaller.end_faultrcCs"|jr ||j}||_d|_dS)N methodName)rr[rrrYr r r end_methodName7s  zUnmarshaller.end_methodNamerNFF)rrrrrrrr}rxrZrzrrrrrrrrrrrrrrrrr r r r rs\     rc@rs)_MultiCallMethodcC||_||_dSr)_MultiCallMethod__call_list_MultiCallMethod__name)r call_listrr r r rD z_MultiCallMethod.__init__cCt|jd|j|fSNz%s.%s)rrrrrr r r __getattr__Gz_MultiCallMethod.__getattr__cGs|j|j|fdSr)rrrrargsr r r __call__Irz_MultiCallMethod.__call__Nrrrrrrr r r r rA rc@r)MultiCallIteratorzaIterates over the results of a multicall. Exceptions are raised in response to xmlrpc faults.cCrr)results)rr r r r rPr8zMultiCallIterator.__init__cCsL|j|}t|tikrt|d|dt|tgkr"|dStd)Nr%r&rz#unexpected type in multicall result)r rr$r.)rritemr r r __getitem__Ss zMultiCallIterator.__getitem__N)rrrrrr r r r r r Ls r c@s0eZdZdZddZddZddZdd Zd S) MultiCalla~server -> an object used to boxcar method calls server should be a ServerProxy object. Methods can be added to the MultiCall using normal method call syntax e.g.: multicall = MultiCall(server_proxy) multicall.add(2,3) multicall.get_address("Guido") To execute the multicall, call the MultiCall object e.g.: add_result, address = multicall() cCs||_g|_dSr)_MultiCall__server_MultiCall__call_list)rserverr r r rmrzMultiCall.__init__cCsd|jjt|fS)Nz <%s at %#x>)rrrWr r r r r!qszMultiCall.__repr__cC t|j|Sr)rrrr r r rtrfzMultiCall.__getattr__cCs6g}|jD] \}}|||dqt|jj|S)N)rr)rrr rsystem multicall)rmarshalled_listrrr r r rwszMultiCall.__call__N)rrrrrr!rrr r r r r \s  r FcCs~tr'tr'|r t}tj}n |rt}t}nt}t}tdd||t}t|}||fSt||d}tr7t|}||fSt |}||fS)zgetparser() -> parser, unmarshaller Create an instance of the fastest available parser, and attach it to an unmarshalling object. Return both objects. TFrr) FastParserFastUnmarshallerrerlrmrrrcr$rrt)rr mkdatetimemkbytesr~rr r r getparsers$ rcCst|ttfs Jdt|trd}n|r$t|tr$t|dks$Jd|s(d}tr/t|}nt||}||}|dkrDdt|}nd}|rQ|d|d|d f}n |rZ|d |d f}n|Sd |S) adata [,options] -> marshalled data Convert an argument tuple or a Fault instance to an XML-RPC request (or response, if the methodresponse option is used). In addition to the data object, the following options can be given as keyword arguments: methodname: the method name for a methodCall packet methodresponse: true to create a methodResponse packet. If this option is used with a tuple, the tuple must be a singleton (i.e. it can contain only one element). encoding: the packet encoding (default is UTF-8) All byte strings in the data structure are assumed to use the packet encoding. Unicode strings are automatically converted, where necessary. z(argument must be tuple or Fault instancer*z"response tuple must be a singletonrz$ z z z z z z r) r=r>r$rFastMarshallerrrrDr)r methodnamemethodresponserrmrZ xmlheaderr r r rs:     rcCs2t||d\}}|||||fS)zdata -> unmarshalled data, method name Convert an XML-RPC packet to unmarshalled data plus a method name (None if not present). If the XML-RPC packet represents a fault condition, this function raises a Fault exception. r)rrrr)rZrrpur r r loadss r"cCsVtstt}tjd|dd}||Wd|S1s"wY|S)zhdata -> gzip encoded data Encode data using the gzip content encoding as described in RFC 1952 wbr*)modefileobj compresslevelN)gzipNotImplementedErrorrGzipFiler^getvalue)rZrgzfr r r gzip_encodes  r,@c Cststtjdt|d&}z|dkr|}n||d}Wn ty+tdwWdn1s6wY|dkrIt||krItd|S)zrgzip encoded data -> unencoded data Decode data using the gzip content encoding as described in RFC 1952 rbr$r%rr*z invalid dataNz#max gzipped payload length exceeded)r'r(r)rreadOSErrorr.r)rZ max_decoder+decodedr r r gzip_decode)s   r4c@r)GzipDecodedResponsezha file-like object to decode a response encoded with the gzip method, as described in RFC 1952. cCs.tstt||_tjj|d|jddS)Nr.r/)r'r(rr0ior)r)rresponser r r rGszGzipDecodedResponse.__init__cCs*ztj|W|jdS|jwr)r'r)rr6r r r r rOszGzipDecodedResponse.closeN)rrrrrrr r r r r5Cs r5c@rs)_MethodcCrr _Method__send _Method__name)rsendrr r r r\rz_Method.__init__cCrr)r8r:r;rr r r r_rz_Method.__getattr__cGs||j|Srr9rr r r rarTz_Method.__call__Nrr r r r r8Yrr8c@seZdZdZdeZdZdZddddd Zdd d Z dd d Z ddZ ddZ ddZ ddZddZddZddZddZdS) Transportz1Handles an HTTP transaction to an XML-RPC server.zPython-xmlrpc/%sTNFr )rcCs&||_||_d|_t||_g|_dSN)NN)r_use_builtin_types _connectionr_headers_extra_headers)rrrrr r r rxs   zTransport.__init__c Cs~dD]:}z |||||WStjjy|rYqty<}z|s1|jtjtjtjfvr2WYd}~qd}~wwdS)N)rr*) single_requesthttpclientRemoteDisconnectedr1errno ECONNRESET ECONNABORTEDEPIPE)rhosthandler request_bodyverboserer r r requests  zTransport.requestcCsz|||||}|}|jdkr||_||WSWnty$ty/|w|ddr:| t |||j|j t | )Nzcontent-lengthr) send_request getresponsestatusrNparse_responser$ Exceptionr getheaderr0rreasonr getheaders)rrKrLrMrN http_connrespr r r rCs(      zTransport.single_requestcCst|j|jdS)Nr)rrr?r r r r rszTransport.getparsercCsri}t|tr |\}}tj|\}}|r2tj|}t|d}d | }dd|fg}ng}|||fS)Nrr AuthorizationzBasic ) r=r>urllibparse _splituserunquote_to_bytesrlrpr[rr)rrKx509auth extra_headersr r r get_host_infos    zTransport.get_host_infocCsL|jr||jdkr|jdS||\}|_}|tj|f|_|jdS)Nrr*)r@rdrBrDrEHTTPConnectionrrKchostrar r r make_connections   zTransport.make_connectioncCs$|j\}}|rd|_|dSdSr>)r@r)rrK connectionr r r rs  zTransport.closecCs||}|j|j}|r|d|jr%tr%|jd|dd|dn|d||d|d|jf| ||| |||S)Nr*POSTT)skip_accept_encoding)zAccept-Encodingr')z Content-Typeztext/xmlz User-Agent) rhrArBset_debuglevelaccept_gzip_encodingr' putrequestr user_agent send_headers send_content)rrKrLrMdebugrirr r r rRs         zTransport.send_requestcCs|D] \}}|||qdSr) putheader)rrirkeyvalr r r rps zTransport.send_headerscCsR|jdur|jt|krtr|ddt|}|dtt|||dS)NContent-Encodingr'zContent-Length)encode_thresholdrr'rsr,rD endheaders)rrirMr r r rq s  zTransport.send_contentcCst|dr|dddkrt|}n|}n|}|\}} |d}|s&n|jr0tdt|||q||ur>| | | S)NrWrvrr'r*izbody:) rFrWr5rr0rNprintrrr)rr7streamr r!rZr r r rU1s$     zTransport.parse_responser)F)rrrr __version__rormrwrrPrCrrdrhrrRrprqrUr r r r r=js$  ! r=cs2eZdZdZd dddfdd Zdd ZZS) SafeTransportz2Handles an HTTPS transaction to an XML-RPC server.Fr Nrcontextcstj|||d||_dS)Nrrr)superrr~)rrrrr~rr r rRs  zSafeTransport.__init__cCst|jr||jdkr|jdSttjdstd||\}|_}|tjj|dfd|ji|p0if|_|jdS)Nrr*HTTPSConnectionz1your version of http.client doesn't support HTTPSr~) r@rFrDrEr(rdrBrr~rfr r r rh[s    zSafeTransport.make_connectionr)rrrrrrh __classcell__r r rr r|Os  r|c@s^eZdZdZ  ddddddZdd Zd d Zd d ZddZddZ ddZ ddZ dS) ServerProxyauri [,options] -> a logical connection to an XML-RPC server uri is the connection point on the server, given as scheme://host/target. The standard implementation always supports the "http" scheme. If SSL socket support is available (Python 2.0), it also supports "https". If the target part and the slash preceding it are both omitted, "/RPC2" is assumed. The following options can be given as keyword arguments: transport: a transport factory encoding: the request encoding (default is UTF-8) All 8-bit strings passed to the server proxy are assumed to use the given encoding. NFr r}c Cstj|} | jdvrtd| j|_tjddg| dd|_|js(d|_|durG| jdkr8t } d| i} nt } i} | d |||d| }||_ |pMd |_ ||_ ||_dS) N)rDhttpszunsupported XML-RPC protocolrrz/RPC2rr~rrr )r]r^urlsplitschemer1netloc_ServerProxy__host urlunsplit_ServerProxy__handlerr|r=_ServerProxy__transport_ServerProxy__encoding_ServerProxy__verbose_ServerProxy__allow_none) ruri transportrrNrrrrr~r rL extra_kwargsr r r rs.      zServerProxy.__init__cCs|jdSr)rrr r r r __closerTzServerProxy.__closecCsPt|||j|jd|jd}|jj|j|j||jd}t |dkr&|d}|S)N)rrxmlcharrefreplace)rNr*r) rrrr`rrPrrrr)rrrrPr7r r r __requests   zServerProxy.__requestcCr))Nz <%s for %s%s>)rrrrr r r r r!szServerProxy.__repr__cCrr)r8_ServerProxy__requestrr r r rs zServerProxy.__getattr__cCs*|dkr|jS|dkr|jStd|f)z|A workaround to get special attributes on the ServerProxy without interfering with the magic __getattr__ rrzAttribute %r not found)_ServerProxy__closerr)rattrr r r rs zServerProxy.__call__cCs|Srr r r r r __enter__szServerProxy.__enter__cGs |dSr)rrr r r __exit__rfzServerProxy.__exit__)NNFFFF) rrrrrrrr!rrrrr r r r rzs  r__main__zhttp://localhost:8000ERROR r)NNNF)r-)Vrrlsysr?rdecimalr http.clientrD urllib.parser] xml.parsersrrGr6rr' ImportErrorr version_infor{rr PARSE_ERROR SERVER_ERRORAPPLICATION_ERROR SYSTEM_ERRORTRANSPORT_ERRORNOT_WELLFORMED_ERRORUNSUPPORTED_ENCODINGINVALID_ENCODING_CHARINVALID_XMLRPCMETHOD_NOT_FOUNDINVALID_METHOD_PARAMSINTERNAL_ERRORrVrrr#r$rrBooleanr,r0r7rBrCrcrergrrrrtrrrr r rrrrrr"r,r4r)rr5r8r=r|rServerrrry currentTimegetCurrentTimermultigetDatapowaddr7r r r r sX*           R #!(C  % ' K f+i