Sh3ll
OdayForums


Server : Apache
System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User : nobody ( 99)
PHP Version : 8.1.23
Disable Function : NONE
Directory :  /usr/lib/python2.7/site-packages/slip/dbus/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib/python2.7/site-packages/slip/dbus/mainloop.pyo
�
��9Qc@sEdZdZdefd��YZdefd��YZd�ZdS(	sVThis module contains mainloop wrappers.

Currently only glib main loops are supported.tMainLooptset_typecBsYeZdZdZd�Zed��Zd�Zd�Z	d�Z
d�Zd�ZRS(	sAn abstract main loop wrapper class and factory.

    Use MainLoop() to get a main loop wrapper object for a main loop type
    previously registered with set_type(). Defaults to glib main loops.

    Actual main loop wrapper classes are derived from this class.cOs>tjdkrtjd�ntt|�jtj||�S(Ntglib(Rt_mainloop_classtNoneRtsupert__new__t_MainLoop__mainloop_class(tclstargstkwargs((s6/usr/lib/python2.7/site-packages/slip/dbus/mainloop.pyR)scCsptjdk	rtd��nitd6}||krG||t_n%td|dj|j��f��dS(sxSet a main loop type for non-blocking interfaces.

        mltype: "glib" (currently only glib main loops are supported)s(The main loop type can only be set once.Rs2'%s' is not one of the valid main loop types (%s).t,N(RRRtRuntimeErrortGlibMainLoopt
ValueErrortjointkeys(Rtmltypet
ml_type_class((s6/usr/lib/python2.7/site-packages/slip/dbus/mainloop.pyR0s
cCs
t��dS(s$Returns if there are pending events.N(tNotImplementedError(tself((s6/usr/lib/python2.7/site-packages/slip/dbus/mainloop.pytpendingAscCs
t��dS(s Iterates over one pending event.N(R(R((s6/usr/lib/python2.7/site-packages/slip/dbus/mainloop.pytiterateFscCs!x|j�r|j�qWdS(s!Iterates over all pending events.N(RR(R((s6/usr/lib/python2.7/site-packages/slip/dbus/mainloop.pytiterate_over_pending_eventsKscCs
t��dS(sRuns the main loop.N(R(R((s6/usr/lib/python2.7/site-packages/slip/dbus/mainloop.pytrunQscCs
t��dS(sQuits the main loop.N(R(R((s6/usr/lib/python2.7/site-packages/slip/dbus/mainloop.pytquitVsN(
t__name__t
__module__t__doc__RRRtclassmethodRRRRRR(((s6/usr/lib/python2.7/site-packages/slip/dbus/mainloop.pyRs					R
cBseZd�ZRS(cCseddlm}|j�}|j�}||_|j|_|j|_|j|_|j	|_	dS(Ni����(t_gobject(
tslip._wrappersRRtget_contextt	_mainloopRt	iterationRRR(RRtmltctx((s6/usr/lib/python2.7/site-packages/slip/dbus/mainloop.pyt__init__^s	(RRR%(((s6/usr/lib/python2.7/site-packages/slip/dbus/mainloop.pyR
\scCs.ddlm}|dt�tj|�dS(s�Set a main loop type for non-blocking interfaces.

    mltype: "glib" (currently only glib main loops are supported)

    Deprecated, use MainLoop.set_type() instead.i����(twarnsuse MainLoop.set_type() insteadN(twarningsR&tDeprecationWarningRR(RR&((s6/usr/lib/python2.7/site-packages/slip/dbus/mainloop.pyRjs
N(sMainLoopsset_type(Rt__all__tobjectRR
R(((s6/usr/lib/python2.7/site-packages/slip/dbus/mainloop.pyt<module>s=

ZeroDay Forums Mini