Your IP : 3.145.37.211


Current Path : /opt/alt/python312/lib64/python3.12/xmlrpc/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/xmlrpc/__pycache__/server.cpython-312.opt-2.pyc

�

�Q�f֏��F�	ddlmZmZmZmZmZddlmZddlm	Z	ddl
mZddlZddlZ
ddlZddlZddlZddlZddlZddlZ	ddlZd'd�Zd�ZGd	�d
�ZGd�de�ZGd
�dej4e�ZGd�de�ZGd�de�ZGd�dej<�ZGd�d�Z Gd�de�Z!Gd�dee �Z"Gd�dee �Z#e$dk(r�ddl%Z%Gd�d�Z&ed �5Z'e'jQe)�e'jQd!�d"�e'jUe&�d�#�e'jW�e,d$�e,d%�	e'j[�ddd�yy#e$rdZY��'wxYw#e.$re,d&�ej^d�Y�9wxYw#1swYyxYw)(�)�Fault�dumps�loads�gzip_encode�gzip_decode)�BaseHTTPRequestHandler)�partial)�	signatureNTc��	|r|jd�}n|g}|D]-}|jd�rtd|z��t||�}�/|S)N�.�_z(attempt to access private attribute "%s")�split�
startswith�AttributeError�getattr)�obj�attr�allow_dotted_names�attrs�is     �4/opt/alt/python312/lib64/python3.12/xmlrpc/server.py�resolve_dotted_attributer|s_�����
�
�3������
���<�<��� �:�Q�>��
��#�a�.�C�
��J�c	��	t|�D�cgc]*}|jd�stt||��r|��,c}Scc}w)Nr
)�dirr�callabler)r�members  r�list_public_methodsr�sM��3�"%�S��4��v��(�(��-��W�S�&�1�2�
��4�4��4s�/Ac�\�eZdZ			d
d�Zdd�Zdd�Zd�Zd�Zdd�Zd�Z	d	�Z
d
�Zd�Zd�Z
y)�SimpleXMLRPCDispatcherNc�R�i|_d|_||_|xsd|_||_y�N�utf-8)�funcs�instance�
allow_none�encoding�use_builtin_types��selfr&r'r(s    r�__init__zSimpleXMLRPCDispatcher.__init__�s+����
���
�$��� �+�G��
�!2��rc�"�	||_||_y�N)r%r)r*r%rs   r�register_instancez(SimpleXMLRPCDispatcher.register_instance�s��	�@!��
�"4��rc�t�	|�t|j|��S|�|j}||j|<|S)N)�name)r	�register_function�__name__r$)r*�functionr0s   rr1z(SimpleXMLRPCDispatcher.register_function�sE��	����4�1�1��=�=��<��$�$�D�#��
�
�4���rc��	|jj|j|j|jd��y)N)zsystem.listMethodszsystem.methodSignaturezsystem.methodHelp)r$�update�system_listMethods�system_methodSignature�system_methodHelp�r*s r� register_introspection_functionsz7SimpleXMLRPCDispatcher.register_introspection_functions�s<��	�	
�
�
���$�2I�2I�15�1L�1L�,0�,B�,B�D�	Erc�T�	|jjd|ji�y)Nzsystem.multicall)r$r5�system_multicallr9s r�register_multicall_functionsz3SimpleXMLRPCDispatcher.register_multicall_functions�s'��	<�
	
�
�
���-��0E�0E�F�Grc	��		t||j��\}}|�
|||�}n|j||�}|f}t|d|j|j
��}|j|j
d�S#t$r,}t||j|j
��}Yd}~�Ld}~wt$rD}tt
dt|��d|���|j
|j��}Yd}~��d}~wwxYw)N)r(�)�methodresponser&r')r&r'�:�r'r&�xmlcharrefreplace)
rr(�	_dispatchrr&r'r�
BaseException�type�encode)	r*�data�dispatch_method�path�params�method�response�fault�excs	         r�_marshaled_dispatchz*SimpleXMLRPCDispatcher._marshaled_dispatch�s���		�	�"�4�4�;Q�;Q�R�N�F�F��*�*�6�6�:���>�>�&�&�9�� �{�H��X�a�(,���$�-�-�Q�H����t�}�}�.A�B�B���	5��U�t���&*�m�m�5�H���	���a�D��I�s�3�4����4�?�?��H��	�s$�AA=�=	C=�"B-�-C=�9:C8�8C=c�t�	t|jj��}|j�~t	|jd�r1|t|jj��z}t|�St	|jd�s!|tt
|j��z}t|�S)N�_listMethodsrD)�setr$�keysr%�hasattrrRr�sorted)r*�methodss  rr6z)SimpleXMLRPCDispatcher.system_listMethodss���	B��d�j�j�o�o�'�(���=�=�$��t�}�}�n�5��3�t�}�}�9�9�;�<�<���g����T�]�]�K�8��3�2�4�=�=�A�B�B���g��rc��	y)Nzsignatures not supported�)r*�method_names  rr7z-SimpleXMLRPCDispatcher.system_methodSignature)s
��	@�*rc�|�	d}||jvr|j|}nu|j�it|jd�r|jj|�St|jd�s"	t	|j||j
�}|�ytj|�S#t$rY�#wxYw)N�_methodHelprD�)	r$r%rUr\rrr�pydoc�getdoc)r*rZrLs   rr8z(SimpleXMLRPCDispatcher.system_methodHelp6s���	O����$�*�*�$��Z�Z��,�F�
�]�]�
&��t�}�}�m�4��}�}�0�0��=�=��T�]�]�K�8��5� $�
�
� +� $� 7� 7�"�F��>���<�<��'�'��&����s�6!B/�/	B;�:B;c�V�	g}|D]/}|d}|d}	|j|j||�g��1|S#t$r2}|j|j|jd��Yd}~�jd}~wt
$r,}|jdt
|��d|��d��Yd}~��d}~wwxYw)N�
methodNamerK)�	faultCode�faultStringr?rA)�appendrDrrbrcrErF)r*�	call_list�results�callrZrKrNrOs        rr<z'SimpleXMLRPCDispatcher.system_multicallUs���	����D��|�,�K��(�^�F�

�������{�F� C�D�E��$����
����#(�?�?�%*�%6�%6�8����!�
����#$�04�S�	�3�%?�A����
�s!�":�	B(�(A0�0B(�<"B#�#B(c�t�		|j|}|�||�Std|z��#t$rYnwxYw|j�jt	|jd�r|jj||�S	t
|j||j�}|�||�S#t$rYnwxYwtd|z��)Nzmethod "%s" is not supportedrD)	r$�	Exception�KeyErrorr%rUrDrrr)r*rLrK�funcs    rrDz SimpleXMLRPCDispatcher._dispatchts���	�(	E��:�:�f�%�D����V�}�$��:�V�C�D�D���	��	���=�=�$��t�}�}�k�2��}�}�.�.�v�v�>�>�

)�/��M�M���+�+����#���=�(��	"�
��
���6��?�@�@s�'�	3�3�5!B�	B)�(B)�FNF)F�NN)r2�
__module__�__qualname__r+r.r1r:r=rPr6r7r8r<rDrYrrr r �sL���37�#(�3�"5�H� 	E�H�!C�F�$*�(�>�>1Arr c��eZdZ	dZdZdZdZejdejejz�Zd�Zd�Z
d�Zd	�Zd
�Zd
d�Zy)�SimpleXMLRPCRequestHandler)�/z/RPC2�
/pydoc.cssix���Tz�
                            \s* ([^\s;]+) \s*            #content-coding
                            (;\s* q \s*=\s* ([0-9\.]+))? #q
                            c��i}|jjdd�}|jd�D]T}|jj	|�}|s�!|jd�}|rt
|�nd}|||jd�<�V|S)NzAccept-Encodingr]�,�g�?r?)�headers�getr�	aepattern�match�group�float)r*�r�ae�er{�vs      r�accept_encodingsz+SimpleXMLRPCRequestHandler.accept_encodings�sz����
�\�\�
�
�/��
4�����#��A��N�N�(�(��+�E���K�K��N�� !�E�!�H�s��$%��%�+�+�a�.�!���rc�L�|jr|j|jvSy)NT)�	rpc_pathsrJr9s r�is_rpc_path_validz,SimpleXMLRPCRequestHandler.is_rpc_path_valid�s!���>�>��9�9����.�.�rc�@�	|j�s|j�y	d}t|jd�}g}|rOt	||�}|j
j
|�}|sn%|j|�|t|d�z}|r�Odj|�}|j|�}|�y|jj|t|dd�|j�}|jd�|j!dd�|j"�Xt|�|j"kDr@|j%�j'd	d
�}|r	t)|�}|j!dd	�|j!dt-t|���|j/�|j0j3|�y#t*$rY�[wxYw#t4$r�}	|jd
�t7|jd�rs|jj8r]|j!dt-|	��t;j<�}
t-|
j?dd�d�}
|j!d|
�|j!dd�|j/�Yd}	~	yd}	~	wwxYw)Ni�zcontent-lengthrtrrD���Content-typeztext/xml�gziprzContent-Encoding�Content-lengthi��_send_traceback_headerzX-exception�ASCII�backslashreplacezX-traceback�0) r��
report_404�intrx�min�rfile�readrd�len�join�decode_request_content�serverrPrrJ�
send_response�send_header�encode_thresholdr�ryr�NotImplementedError�str�end_headers�wfile�writerirUr��	traceback�
format_excrG)r*�max_chunk_size�size_remaining�L�
chunk_size�chunkrHrM�qr��traces           r�do_POSTz"SimpleXMLRPCRequestHandler.do_POST�sR��	��%�%�'��O�O���9	'�
*�N� ����.>�!?�@�N��A� � ���@�
��
�
���
�3����������#�a��e�*�,��
!��8�8�A�;�D��.�.�t�4�D��|���{�{�6�6��'�$��T�:�D�I�I��H�$
���s�#����^�Z�8��$�$�0��x�=�4�#8�#8�8��-�-�/�3�3�F�A�>�A��!�'2�8�'<�H� �,�,�-?��H�
���-�s�3�x�=�/A�B������J�J���X�&��	 3�!� �!��1�
	����s�#��t�{�{�$<�=��K�K�6�6�� � ���A��7�!�,�,�.���E�L�L��2D�E�w�O��� � ���6����-�s�3�������
	�s7�A,G�$G�62G�F?�?	G�
G�	J�B<J�Jc�v�|jjdd�j�}|dk(r|S|dk(r	t|�S|jdd|z�|jdd	�|j�y#t$r|jdd|z�Y�Ct$r|jdd�Y�_wxYw)
Nzcontent-encoding�identityr�i�zencoding %r not supported�zerror decoding gzip contentr�r�)	rxry�lowerrr�r��
ValueErrorr�r�)r*rHr's   rr�z1SimpleXMLRPCRequestHandler.decode_request_contents����<�<�#�#�$6�
�C�I�I�K���z�!��K��v��
G�"�4�(�(�
���s�$?�(�$J�K����)�3�/������'�
P��"�"�3�(C�h�(N�O��
G��"�"�3�(E�F�
G�s�
A;�;B8�B8�7B8c���|jd�d}|jdd�|jdtt|���|j	�|j
j
|�y)Ni�sNo such pager�z
text/plainr�)r�r�r�r�r�r�r��r*rMs  rr�z%SimpleXMLRPCRequestHandler.report_404*s]�����3��"�������6����)�3�s�8�}�+=�>������
�
����"rc�b�	|jjrtj|||�yyr-)r��logRequestsr�log_request)r*�code�sizes   rr�z&SimpleXMLRPCRequestHandler.log_request3s)��2��;�;�"�"�"�.�.�t�T�4�@�#rN)�-r�)r2rnror�r��wbufsize�disable_nagle_algorithm�re�compile�VERBOSE�
IGNORECASErzr�r�r�r�r�r�rYrrrqrq�sm���-�I����H�"����
�
� �"$���b�m�m�!;�=�I�
	��E'�N�"#�Arrqc�*�eZdZ	dZdZedddddfd�Zy)�SimpleXMLRPCServerTFNc��||_tj||||�tjj||||�yr-)r�r r+�socketserver�	TCPServer�r*�addr�requestHandlerr�r&r'�bind_and_activater(s        rr+zSimpleXMLRPCServer.__init__Ls<��'����'�'��j�(�DU�V����'�'��d�N�DU�Vr)r2rnro�allow_reuse_addressr�rqr+rYrrr�r�9s,�����#��,F�!�e�d�#'�5�Wrr�c�6�eZdZ	edddddfd�Zd�Zd�Zdd�Zy)	�MultiPathXMLRPCServerTFNc
�n�tj||||||||�i|_||_|xsd|_yr")r�r+�dispatchersr&r'r�s        rr+zMultiPathXMLRPCServer.__init__]sA��	�#�#�D�$���Z�$,�.?�AR�	T����$��� �+�G��
rc�$�||j|<|Sr-�r�)r*rJ�
dispatchers   r�add_dispatcherz$MultiPathXMLRPCServer.add_dispatchergs��!+�������rc� �|j|Sr-r�)r*rJs  r�get_dispatcherz$MultiPathXMLRPCServer.get_dispatcherks������%�%rc	�"�	|j|j|||�}|S#t$ra}tt	dt|��d|���|j|j��}|j|jd�}Yd}~|Sd}~wwxYw)Nr?rArBrC)	r�rPrErrrFr'r&rG)r*rHrIrJrMrOs      rrPz)MultiPathXMLRPCServer._marshaled_dispatchns���
	K��'�'��-�A�A��_�d�,�H�����	K���a�D��I�s�3�4����4�?�?�D�H� ���t�}�}�6I�J�H����	K�s� $�	B�AB	�	Brm)r2rnrorqr+r�r�rPrYrrr�r�Us-���-G�!�e�d�#'�5�,��&�rr�c�*�eZdZ	dd�Zd�Zd�Zdd�Zy)�CGIXMLRPCRequestHandlerNc�4�tj||||�yr-)r r+r)s    rr+z CGIXMLRPCRequestHandler.__init__s���'�'��j�(�DU�Vrc�^�	|j|�}td�tdt|�z�t�tjj�tjjj|�tjjj�y)NzContent-Type: text/xml�Content-Length: %d)rP�printr��sys�stdout�flush�bufferr�)r*�request_textrMs   r�
handle_xmlrpcz%CGIXMLRPCRequestHandler.handle_xmlrpc�ss��-��+�+�L�9��
�&�'�
�"�S��]�2�3�
���
�
�����
�
������)��
�
�����!rc�&�	d}tj|\}}tjj|||d�z}|jd�}t
d||fz�t
dtjjz�t
dt|�z�t
�tjj�tjjj|�tjjj�y)Nr�)r��message�explainr#z
Status: %d %szContent-Type: %sr�)r�	responses�httpr��DEFAULT_ERROR_MESSAGErGr��DEFAULT_ERROR_CONTENT_TYPEr�r�r�r�r�r�)r*r�r�r�rMs     r�
handle_getz"CGIXMLRPCRequestHandler.handle_get�s���	���1�;�;�D�A�����;�;�4�4�� � �
����?�?�7�+��
�o��w��/�0�
� �4�;�;�#I�#I�I�J�
�"�S��]�2�3�
���
�
�����
�
������)��
�
�����!rc�X�	|�4tjjdd�dk(r|j�y	t	tjjdd��}|�tjj|�}|j|�y#t
tf$rd}Y�FwxYw)N�REQUEST_METHOD�GET�CONTENT_LENGTHrt)�os�environryr�r�r��	TypeErrorr��stdinr�r�)r*r��lengths   r�handle_requestz&CGIXMLRPCRequestHandler.handle_request�s���	����J�J�N�N�+�T�2�e�;��O�O��
��R�Z�Z�^�^�,<�d�C�D���#�"�y�y�~�~�f�5�����|�,���	�*�
���
�s�)B�B)�(B)rlr-)r2rnror+r�r�r�rYrrr�r�|s��=�W�
"�"�2-rr�c�<�eZdZ	diiifd�Zdiiidfd�Zd�Zd�Zy)�
ServerHTMLDocNc�~�	|xs|j}g}d}tjd�}|j||�x}	�rT|	j	�\}
}|j||||
��|	j
�\}}
}}}}|
r1||�jdd�}|jd|�d|�d��n�|r-dt|�z}|jd|�d||��d��n�|r-d	t|�z}|jd|�d||��d��ng|||d
zdk(r$|j|j||||��n8|r|jd|z�n!|j|j||��|}|j||�x}	r��T|j|||d��d
j|�S)NrzS\b((http|https|ftp)://\S+[\w/]|RFC[- ]?(\d+)|PEP[- ]?(\d+)|(self\.)?((?:\w|\.)+))\b�"z&quot;z	<a href="z">z</a>z(https://www.rfc-editor.org/rfc/rfc%d.txtz!https://peps.python.org/pep-%04d/r?�(zself.<strong>%s</strong>r])�escaper�r��search�spanrd�groups�replacer��namelinkr�)r*�textr�r$�classesrWrf�here�patternr{�start�end�all�scheme�rfc�pep�selfdotr0�urls                   r�markupzServerHTMLDoc.markup�s���	F��&�4�;�;�������*�*�<�=���~�~�d�D�1�1�e�1�����J�E�3��N�N�6�$�t�E�"2�3�4�38�<�<�>�0�C���c�7�D���S�k�)�)�#�x�8������S�A�B��@�3�s�8�K������V�C�[�I�J��9�C��H�D������V�C�[�I�J��c�#�a�%��C�'����t�}�}�T�7�E�7�K�L�����9�D�@�A����t�}�}�T�7�;�<��D�)�~�~�d�D�1�1�e�1�*	���v�d�4�5�k�*�+��w�w�w��rc���	|xr|jxsddz|z}d}	d|j|��d|j|��d�}
t|�rtt	|��}nd}t|t�r|dxs|}|dxsd}ntj|�}|
|z|	xr|jd	|	z�z}
|j||j|||�}|xrd
|z}d|
�d|�d
�S)Nr]r�z	<a name="z
"><strong>z
</strong></a>z(...)rr?z'<font face="helvetica, arial">%s</font>z<dd><tt>%s</tt></dd>z<dl><dt>z</dt>z</dl>
)r2r�rr�r
�
isinstance�tupler^r_�greyr�	preformat)r*�objectr0�modr$r�rW�cl�anchor�note�title�argspec�	docstring�decl�docs               r�
docroutinezServerHTMLDoc.docroutine�s���I��$����*��c�1�D�8����
�K�K������T�!2�4���F���)�F�+�,�G��G��f�e�$��Q�i�*�7�G��q�	��R�I����V�,�I��w��$�#A�4�9�9�8�4�?�,A�B���k�k��t�~�~�u�g�w�@���2�,�s�2��-1�3�7�7rc���	i}|j�D]\}}d|z||<||||<�|j|�}d|z}|j|�}|j||j|�}	|	xrd|	z}	|d|	zz}g}
t|j��}|D](\}}|
j
|j|||����*||jdddj|
��z}|S)	Nz#-z)<big><big><strong>%s</strong></big></big>z<tt>%s</tt>z
<p>%s</p>
)r$�Methods�	functionsr])
�itemsr��headingrrrVrdr�
bigsectionr�)r*�server_name�package_documentationrW�fdict�key�value�head�resultr�contents�method_itemss            r�	docserverzServerHTMLDoc.docservers���?���!�-�-�/�J�C�����E�#�J� ��:�E�%�L�*��k�k�+�.��:�[�H�����d�#���k�k�/�����G���)�m�c�)���-�#�-�-�����g�m�m�o�.��&�J�C���O�O�D�O�O�E�3�e�O�D�E�'��$�/�/��{�B�G�G�H�$5�7�7���
rc�*�	d}d|z}d|�d|�d|�d�S)Nrsz1<link rel="stylesheet" type="text/css" href="%s">zI<!DOCTYPE>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Python: z	</title>
z
</head><body>z</body></html>rY)r*rr%�css_path�css_links     r�pagezServerHTMLDoc.page"s/��"���?��
�	�',�X�x�
A�	Ar)r2rnrorrr'r+rYrrr�r��s2��A�"&�b�"�b�% �N,0��R���8�:�4Arr�c�,�eZdZ	d�Zd�Zd�Zd�Zd�Zy)�XMLRPCDocGeneratorc�.�d|_d|_d|_y)NzXML-RPC Server DocumentationzGThis server exports the following methods through the XML-RPC protocol.)r�server_documentation�server_titler9s rr+zXMLRPCDocGenerator.__init__7s!��9���
�	
�!�;��rc��	||_yr-)r0)r*r0s  r�set_server_titlez#XMLRPCDocGenerator.set_server_title?s
��F�(��rc��	||_yr-)r)r*rs  r�set_server_namez"XMLRPCDocGenerator.set_server_nameDs
��E�&��rc��	||_yr-)r/)r*r/s  r�set_server_documentationz+XMLRPCDocGenerator.set_server_documentationIs
��A�$8��!rc���	i}|j�D]�}||jvr|j|}n�|j��ddg}t|jd�r|jj	|�|d<t|jd�r|jj|�|d<t
|�}|dk7r|}n1t|jd�s	t|j|�}n|}	||<��t�}|j|j|j|�}|jtj|j �|�S#t$r|}Y�twxYw)N�_get_method_argstringrr\r?rmrD)r6r$r%rUr8r\r
rrr�r'rr/r+�htmlr�r0)r*rWrZrL�method_info�
documenter�
documentations       r�generate_html_documentationz.XMLRPCDocGenerator.generate_html_documentationNsR��	!����2�2�4�K��d�j�j�(����K�0�����*�#�T�l���4�=�=�*A�B�%)�]�]�%H�%H��%U�K��N��4�=�=�-�8�%)�]�]�%>�%>�{�%K�K��N�#�K�0���,�.�(�F� �����<�-�!9�$(�M�M�$/�"&��)�F�
$*�G�K� �75�:#�_�
�"�,�,� $� 0� 0� $� 9� 9� '��
����t�{�{�4�+<�+<�=�}�M�M��#*�-�!,��-�s�E�E&�%E&N)r2rnror+r2r4r6r=rYrrr-r-0s!���;�)�
'�
9�
1Nrr-c��eZdZ	d�Zd�Zy)�DocXMLRPCRequestHandlerc�,�tjjtjjt��}tjj|ddd�}t
|d��5}|j�cddd�S#1swYyxYw)Nz..�
pydoc_dataz
_pydoc.css�rb)�mode)r�rJ�dirname�realpath�__file__r��openr�)r*r�	path_herer)�fps     r�_get_cssz DocXMLRPCRequestHandler._get_css�sa���G�G�O�O�B�G�G�$4�$4�X�$>�?�	��7�7�<�<�	�4��|�L��
�(��
&�"��7�7�9�	�	�
&�
&�s�0B
�
Bc��	|j�s|j�y|jjd�rd}|j	|j�}n+d}|j
j
�jd�}|jd�|jdd|z�|jdtt|���|j�|jj|�y)	Nz.cssztext/cssz	text/htmlr#r�zContent-Typez%s; charset=UTF-8r�)r�r�rJ�endswithrJr�r=rGr�r�r�r�r�r�r�)r*�content_typerMs   r�do_GETzDocXMLRPCRequestHandler.do_GET�s���	��%�%�'��O�O����9�9���f�%�%�L��}�}�T�Y�Y�/�H�&�L��{�{�>�>�@�G�G��P�H����3������)<�|�)K�L����)�3�s�8�}�+=�>������
�
����"rN)r2rnrorJrNrYrrr?r?�s����#rr?c�"�eZdZ	edddddfd�Zy)�DocXMLRPCServerTFNc
�f�tj||||||||�tj|�yr-)r�r+r-r�s        rr+zDocXMLRPCServer.__init__�s5��	�#�#�D�$���$.��:K�$5�	7�	�#�#�D�)r)r2rnror?r+rYrrrPrP�s���-D�!�e�d�#'�5�*rrPc��eZdZ	d�Zd�Zy)�DocCGIXMLRPCRequestHandlerc�z�	|j�jd�}td�tdt|�z�t�tj
j
�tj
jj|�tj
jj
�y)Nr#zContent-Type: text/htmlr�)	r=rGr�r�r�r�r�r�r�r�s  rr�z%DocCGIXMLRPCRequestHandler.handle_get�s���	��3�3�5�<�<�W�E��
�'�(�
�"�S��]�2�3�
���
�
�����
�
������)��
�
�����!rc�X�tj|�tj|�yr-)r�r+r-r9s rr+z#DocCGIXMLRPCRequestHandler.__init__�s���(�(��.��#�#�D�)rN)r2rnror�r+rYrrrSrS�s���"� *rrS�__main__c�&�eZdZd�ZGd�d�Zy)�ExampleServicec��y)N�42rYr9s r�getDatazExampleService.getData�s��rc��eZdZed��Zy)�ExampleService.currentTimec�>�tjj�Sr-)�datetime�nowrYrr�getCurrentTimez)ExampleService.currentTime.getCurrentTime�s���(�(�,�,�.�.rN)r2rnro�staticmethodrarYrr�currentTimer]�s��
�
/��
/rrcN)r2rnror[rcrYrrrXrX�s��	�	/�	/rrX)�	localhosti@c��||zSr-rY)�x�ys  r�<lambda>rh�s��Q�q�Sr�add)rz&Serving XML-RPC on localhost port 8000zKIt is advisable to run this example server within a secure, closed network.z&
Keyboard interrupt received, exiting.)T)0�
xmlrpc.clientrrrrr�http.serverr�	functoolsr	�inspectr
r9r�r�r�r�r�r^r��fcntl�ImportErrorrrr rqr�r�r�r��HTMLDocr�r-r?rPrSr2r_rXr�r1�powr.r=r��
serve_forever�KeyboardInterrupt�exitrYrr�<module>rus���e�TH�G�.������
�	�	������04�IA�IA�VPA�!7�PA�dW��/�/�/�W�8%�.�%�N?-�4�?-�JmA�E�M�M�mA�^ON�ON�b&#�8�&#�P*�*�*�*� *�$;�$6�*�4�z���/�/�
�/�	0�F�� � ��%�� � ��%�8�� � ��!1�d� �K��+�+�-�
�6�7�
�[�\�	�� � �"�
1�	0���u���E���^!�	��;�<��C�H�H�Q�K�	��
1�	0�s=�E$�,AF�
E2�$E/�.E/�2F�F�F�F�F 

?>