ACC SHELL

Path : /usr/lib/python/site-packages/dbus/
File Upload :
Current File : //usr/lib/python/site-packages/dbus/bus.pyc

Ñò
¤Ü1Lc
@s@dZdZddkZddkZddklZlZlZlZl	Z	l
Z
lZlZl
Z
lZlZlZlZlZlZlZlZlZlZlZlZlZlZddklZddklZddk l!Z!deeefZ"d	Z#ei$d
ƒZ%de&fd„ƒYZ'defd
„ƒYZ(dS(t
BusConnectiontreStructuredTextiÿÿÿÿN(tvalidate_interface_nametvalidate_member_nametvalidate_bus_nametvalidate_object_pathtvalidate_error_nametBUS_SESSIONtBUS_STARTERt
BUS_SYSTEMtDBUS_START_REPLY_SUCCESSt DBUS_START_REPLY_ALREADY_RUNNINGtBUS_DAEMON_NAMEtBUS_DAEMON_PATHtBUS_DAEMON_IFACEtNAME_FLAG_ALLOW_REPLACEMENTtNAME_FLAG_DO_NOT_QUEUEtNAME_FLAG_REPLACE_EXISTINGtRELEASE_NAME_REPLY_NON_EXISTENTtRELEASE_NAME_REPLY_NOT_OWNERtRELEASE_NAME_REPLY_RELEASEDt REQUEST_NAME_REPLY_ALREADY_OWNERtREQUEST_NAME_REPLY_EXISTStREQUEST_NAME_REPLY_IN_QUEUEt REQUEST_NAME_REPLY_PRIMARY_OWNER(t
Connection(t
DBusException(tHANDLER_RESULT_NOT_YET_HANDLEDsWtype='signal',sender='%s',interface='%s',member='NameOwnerChanged',path='%s',arg0='%%s's)org.freedesktop.DBus.Error.NameHasNoOwnersdbus.bustNameOwnerWatchcBs eZdZd„Zd„ZRS(t_matcht
_pending_callc
sƒtˆƒ‡fd†}‡‡fd†}|i|dtttdˆƒ|_|itttddˆfˆ|dtƒ|_dS(Ncsˆ|ƒdS(N((townedt	old_ownert	new_owner(tcallback(s,/usr/lib/python2.6/site-packages/dbus/bus.pyt	signal_cbFscsQ|iƒtjoˆdƒn-tiƒtidˆd|i|dfƒdS(NtsGetNameOwner(%s) failed:texc_info(t
get_dbus_namet_NAME_HAS_NO_OWNERtloggingtbasicConfigt_loggertdebugt	__class__tNone(te(tbus_nameR"(s,/usr/lib/python2.6/site-packages/dbus/bus.pyterror_cbIs

tNameOwnerChangedtarg0tGetNameOwnertstutf8_strings(	Rtadd_signal_receiverRRR
Rt
call_asynctTrueR(tselftbus_connR/R"R#R0((R/R"s,/usr/lib/python2.6/site-packages/dbus/bus.pyt__init__Cs 
				cCsX|idj	o|iiƒn|idj	o|iiƒnd|_d|_dS(N(RR-tremoveRtcancel(R9((s,/usr/lib/python2.6/site-packages/dbus/bus.pyR=_s	(s_matchs
_pending_call(t__name__t
__module__t	__slots__R;R=(((s,/usr/lib/python2.6/site-packages/dbus/bus.pyR@s	cBsìeZdZeZeZeZe	Z
eZedd„Zddddd„Zd„Zd„Zeed„Zd„Zdd„Zdd	„Zd
„Zd„Zd„Zd
„Zd„Zd„Zd„Zd„Zd„Z d„Z!RS(sxA connection to a D-Bus daemon that implements the
    ``org.freedesktop.DBus`` pseudo-service.

    :Since: 0.81.0
    cCs1|i|d|ƒ}tiƒ|_h|_|S(Ntmainloop(t_new_for_bustweakreftWeakValueDictionaryt
_bus_namest_signal_sender_matches(tclstaddress_or_typeRAtbus((s,/usr/lib/python2.6/site-packages/dbus/bus.pyt__new__|s	cs|iddƒ}|dj	oJ|dj	otdƒ‚n|}ddkl}|dtddƒntt|ƒi||||||‰|dj	o]|t	joP|d d	jo‡fd
†}	n
ˆi
}	|i||	ƒ}
|
|iˆ<n|i
tˆƒƒˆS(Nt
named_services3bus_name and named_service cannot both be specifiediÿÿÿÿ(twarnsrPassing the named_service parameter to add_signal_receiver by name is deprecated: please use positional parameterst
stackleveliit:cs|djoˆiƒndS(NR$(R<(R!(tmatch(s,/usr/lib/python2.6/site-packages/dbus/bus.pyR"›s
(tpopR-t	TypeErrortwarningsRLtDeprecationWarningtsuperRR6Rtset_sender_name_ownertwatch_name_ownerRFtadd_match_stringtstr(R9thandler_functiontsignal_nametdbus_interfaceR/tpathtkeywordsRKRLR"twatch((ROs,/usr/lib/python2.6/site-packages/dbus/bus.pyR6‡s&

	cCsG|it|ƒƒ|ii|dƒ}|dj	o|iƒndS(N(t remove_match_string_non_blockingRXRFRPR-R=(R9ROR^((s,/usr/lib/python2.6/site-packages/dbus/bus.pyt_clean_up_signal_match§s
cCs‘|dj	o||d djok|tjo^y|i|ƒSWqtj
o:}|iƒtjo‚n|i|ƒ|i|ƒSXn|SdS(NiRN(R-Rtget_name_ownerRR&R'tstart_service_by_name(R9R/R.((s,/usr/lib/python2.6/site-packages/dbus/bus.pytactivate_name_owner®s

c	KsÇ|o|iƒn|iddƒ}|dj	oJ|dj	otdƒ‚nddkl}|dtddƒ|}n|o#tdd	i|iƒƒƒ‚n|i	|||d
|d|ƒS(
sJReturn a local proxy for the given remote object.

        Method calls on the proxy are translated into method calls on the
        remote object.

        :Parameters:
            `bus_name` : str
                A bus name (either the unique name or a well-known name)
                of the application owning the object. The keyword argument
                named_service is a deprecated alias for this.
            `object_path` : str
                The object path of the desired object
            `introspect` : bool
                If true (default), attempt to introspect the remote
                object to find out supported methods and their signatures
            `follow_name_owner_changes` : bool
                If the object path is a well-known name and this parameter
                is false (default), resolve the well-known name to the unique
                name of its current owner and bind to that instead; if the
                ownership of the well-known name changes in future,
                keep communicating with the original owner.
                This is necessary if the D-Bus API used is stateful.

                If the object path is a well-known name and this parameter
                is true, whenever the well-known name changes ownership in
                future, bind to the new owner, if any.

                If the given object path is a unique name, this parameter
                has no effect.

        :Returns: a `dbus.proxies.ProxyObject`
        :Raises `DBusException`: if resolving the well-known name to a
            unique name fails
        RKs3bus_name and named_service cannot both be specifiediÿÿÿÿ(RLsiPassing the named_service parameter to get_object by name is deprecated: please use positional parametersRMis4get_object does not take these keyword arguments: %ss, t
introspecttfollow_name_owner_changesN(
t_require_main_loopRPR-RQRRRLRStjointiterkeystProxyObjectClass(R9R/tobject_pathRdRetkwargsRKRL((s,/usr/lib/python2.6/site-packages/dbus/bus.pyt
get_object½s $



cCs)t|ƒ|itttdd|fƒS(sêGet the numeric uid of the process owning the given bus name.

        :Parameters:
            `bus_name` : str
                A bus name, either unique or well-known
        :Returns: a `dbus.UInt32`
        :Since: 0.80.0
        tGetConnectionUnixUserR4(Rt
call_blockingRR
R(R9R/((s,/usr/lib/python2.6/site-packages/dbus/bus.pyt
get_unix_userös	
ic	Cs2t|ƒt|itttdd||fƒfS(s?Start a service which will implement the given bus name on this Bus.

        :Parameters:
            `bus_name` : str
                The well-known bus name to be activated.
            `flags` : dbus.UInt32
                Flags to pass to StartServiceByName (currently none are
                defined)

        :Returns: A tuple of 2 elements. The first is always True, the
            second is either START_REPLY_SUCCESS or
            START_REPLY_ALREADY_RUNNING.

        :Raises `DBusException`: if the service could not be started.
        :Since: 0.80.0
        tStartServiceByNametsu(RR8RnRR
R(R9R/tflags((s,/usr/lib/python2.6/site-packages/dbus/bus.pyRbs

cCs2t|dtƒ|itttdd||fƒS(s„Request a bus name.

        :Parameters:
            `name` : str
                The well-known name to be requested
            `flags` : dbus.UInt32
                A bitwise-OR of 0 or more of the flags
                `NAME_FLAG_ALLOW_REPLACEMENT`,
                `NAME_FLAG_REPLACE_EXISTING`
                and `NAME_FLAG_DO_NOT_QUEUE`
        :Returns: `REQUEST_NAME_REPLY_PRIMARY_OWNER`,
            `REQUEST_NAME_REPLY_IN_QUEUE`,
            `REQUEST_NAME_REPLY_EXISTS` or
            `REQUEST_NAME_REPLY_ALREADY_OWNER`
        :Raises `DBusException`: if the bus daemon cannot be contacted or
            returns an error.
        tallow_uniquetRequestNameRq(RtFalseRnRR
R(R9tnameRr((s,/usr/lib/python2.6/site-packages/dbus/bus.pytrequest_namescCs/t|dtƒ|itttdd|fƒS(ssRelease a bus name.

        :Parameters:
            `name` : str
                The well-known name to be released
        :Returns: `RELEASE_NAME_REPLY_RELEASED`,
            `RELEASE_NAME_REPLY_NON_EXISTENT`
            or `RELEASE_NAME_REPLY_NOT_OWNER`
        :Raises `DBusException`: if the bus daemon cannot be contacted or
            returns an error.
        RstReleaseNameR4(RRuRnRR
R(R9Rv((s,/usr/lib/python2.6/site-packages/dbus/bus.pytrelease_name4sc	Cs"|itttddddtƒS(s‰Return a list of all currently-owned names on the bus.

        :Returns: a dbus.Array of dbus.UTF8String
        :Since: 0.81.0
        t	ListNamesR$R5((RnRR
RR8(R9((s,/usr/lib/python2.6/site-packages/dbus/bus.pyt
list_namesEsc	Cs"|itttddddtƒS(sReturn a list of all names that can be activated on the bus.

        :Returns: a dbus.Array of dbus.UTF8String
        :Since: 0.81.0
        RzR$R5((RnRR
RR8(R9((s,/usr/lib/python2.6/site-packages/dbus/bus.pytlist_activatable_namesOsc	Cs5t|dtƒ|itttdd|fdtƒS(s²Return the unique connection name of the primary owner of the
        given name.

        :Raises `DBusException`: if the `bus_name` has no owner
        :Since: 0.81.0
        RsR3R4R5(RRuRnRR
RR8(R9R/((s,/usr/lib/python2.6/site-packages/dbus/bus.pyRaYscCst|||ƒS(sWatch the unique connection name of the primary owner of the
        given name.

        `callback` will be called with one argument, which is either the
        unique connection name, or the empty string (meaning the name is
        not owned).

        :Since: 0.81.0
        (R(R9R/R"((s,/usr/lib/python2.6/site-packages/dbus/bus.pyRVes
cCs%t|itttdd|fƒƒS(s»Return True iff the given bus name has an owner on this bus.

        :Parameters:
            `bus_name` : str
                The bus name to look up
        :Returns: a `bool`
        tNameHasOwnerR4(tboolRnRR
R(R9R/((s,/usr/lib/python2.6/site-packages/dbus/bus.pytname_has_ownerqscCs#|itttdd|fƒdS(sArrange for this application to receive messages on the bus that
        match the given rule. This version will block.

        :Parameters:
            `rule` : str
                The match rule
        :Raises `DBusException`: on error.
        :Since: 0.80.0
        tAddMatchR4N(RnRR
R(R9trule((s,/usr/lib/python2.6/site-packages/dbus/bus.pyRW}s
c	Cs)|itttdd|fddƒdS(s=Arrange for this application to receive messages on the bus that
        match the given rule. This version will not block, but any errors
        will be ignored.


        :Parameters:
            `rule` : str
                The match rule
        :Raises `DBusException`: on error.
        :Since: 0.80.0
        R€R4N(R7RR
RR-(R9R((s,/usr/lib/python2.6/site-packages/dbus/bus.pytadd_match_string_non_blockingŒscCs#|itttdd|fƒdS(sArrange for this application to receive messages on the bus that
        match the given rule. This version will block.

        :Parameters:
            `rule` : str
                The match rule
        :Raises `DBusException`: on error.
        :Since: 0.80.0
        tRemoveMatchR4N(RnRR
R(R9R((s,/usr/lib/python2.6/site-packages/dbus/bus.pytremove_match_stringœs
c	Cs)|itttdd|fddƒdS(s=Arrange for this application to receive messages on the bus that
        match the given rule. This version will not block, but any errors
        will be ignored.


        :Parameters:
            `rule` : str
                The match rule
        :Raises `DBusException`: on error.
        :Since: 0.80.0
        RƒR4N(R7RR
RR-(R9R((s,/usr/lib/python2.6/site-packages/dbus/bus.pyR_©sN("R>R?t__doc__RtTYPE_SESSIONR	tTYPE_SYSTEMRtTYPE_STARTERR
tSTART_REPLY_SUCCESSRtSTART_REPLY_ALREADY_RUNNINGR-RJR6R`RcR8RuRlRoRbRwRyR{R|RaRVRRWR‚R„R_(((s,/usr/lib/python2.6/site-packages/dbus/bus.pyRhs6		8			
	
						
(s
BusConnection()t__all__t
__docformat__R(RCt_dbus_bindingsRRRRRRRR	R
RRR
RRRRRRRRRRRtdbus.connectionRtdbus.exceptionsRt
dbus.lowlevelRt_NAME_OWNER_CHANGE_MATCHR't	getLoggerR*tobjectRR(((s,/usr/lib/python2.6/site-packages/dbus/bus.pyt<module>s”
(

ACC SHELL 2018