Current File : //usr/lib64/python2.7/site-packages/dbus/proxies.pyo |
�
毖Sc @ s% d d l Z y d d l m Z Wn! e k
rC d d l m Z n Xd d l Z d d l m Z d d l m Z m
Z
m Z m Z d Z
e j d � Z d d l m Z m Z m Z m Z m Z d d l m Z d f d
� � YZ d f d � � YZ d
e f d � � YZ d e f d � � YZ d S( i����N( t RLock( t process_introspection_data( t
DBusExceptiont IntrospectionParserExceptiont MissingErrorHandlerExceptiont MissingReplyHandlerExceptiont restructuredtexts dbus.proxies( t BUS_DAEMON_IFACEt BUS_DAEMON_NAMEt BUS_DAEMON_PATHt INTROSPECTABLE_IFACEt
LOCAL_PATH( t is_py2t _DeferredMethodc B s) e Z d Z d � Z d � Z d � Z RS( sX A proxy method which will only get called once we have its
introspection reply.
c C s+ | | _ | j | _ | | _ | | _ d S( N( t
_proxy_methodt _method_namet _appendt _block( t selft proxy_methodt appendt block( ( s2 /usr/lib64/python2.7/site-packages/dbus/proxies.pyt __init__6 s c O sV d | k s | j d t � r8 | j | j | | � d S| j � | j | | � Sd S( Nt
reply_handlert ignore_reply( t gett FalseR R t NoneR ( R t argst keywords( ( s2 /usr/lib64/python2.7/site-packages/dbus/proxies.pyt __call__= s
c O s | j | j | | � d S( N( R R ( R R R ( ( s2 /usr/lib64/python2.7/site-packages/dbus/proxies.pyt
call_asyncH s ( t __name__t
__module__t __doc__R R R ( ( ( s2 /usr/lib64/python2.7/site-packages/dbus/proxies.pyR
2 s t _ProxyMethodc B s) e Z d Z d � Z d � Z d � Z RS( s� A proxy method.
Typically a member of a ProxyObject. Calls to the
method produce messages that travel over the Bus and are routed
to a specific named Service.
c C s� | t k r t d t � � n | | _ | | _ | | _ | | _ t j | � | | _ | d k ru t j
| � n | | _ d S( Ns1 Methods may not be called on the reserved path %s( R R t _proxyt _connectiont _named_servicet _object_patht _dbus_bindingst validate_member_nameR R t validate_interface_namet _dbus_interface( R t proxyt
connectiont bus_namet object_patht method_namet iface( ( s2 /usr/lib64/python2.7/site-packages/dbus/proxies.pyR S s
c O s� | j d d � } | j d d � } | j d t � } | j d d � } | d k s` | d k r� | d k rx t � � q� | d k r� t � � q� | r� t d � � q� n | j d | j � } | d k r
| d k r� | j } n | d | j } | j j j
| d � } n | s| d k rS| j j | j
| j | | j | | | | | � n+ | j j | j
| j | | j | | | � Sd S( NR t
error_handlerR t signatures6 ignore_reply and reply_handler cannot be used togethert dbus_interfacet .( t popR R R R t TypeErrorR+ R R$ t _introspect_method_mapR R% R R&