!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC
2023 x86_64
 

uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) 

Safe-mode: OFF (not secure)

/lib/python3.6/site-packages/pydbus/   drwxr-xr-x
Free 293.74 GB of 429.69 GB (68.36%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     subscription.py (2.12 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
from gi.repository import Gio
from .exitable import ExitableWithAliases

class Subscription(ExitableWithAliases("unsubscribe", "disconnect")):
    Flags = Gio.DBusSignalFlags
    __slots__ = ()

    def __init__(self, con, sender, iface, member, object, arg0, flags, callback):
        id = con.signal_subscribe(sender, iface, member, object, arg0, flags, callback)
        self._at_exit(lambda: con.signal_unsubscribe(id))

class SubscriptionMixin(object):
    __slots__ = ()
    SubscriptionFlags = Subscription.Flags

    def subscribe(self, sender=None, iface=None, signal=None, object=None, arg0=None, flags=0, signal_fired=None):
        """Subscribes to matching signals.

        Subscribes to signals on connection and invokes signal_fired callback
        whenever the signal is received.

        To receive signal_fired callback, you need an event loop.
        https://github.com/LEW21/pydbus/blob/master/doc/tutorial.rst#setting-up-an-event-loop

        Parameters
        ----------
        sender : string, optional
            Sender name to match on (unique or well-known name) or None to listen from all senders.
        iface : string, optional
            Interface name to match on or None to match on all interfaces.
        signal : string, optional
            Signal name to match on or None to match on all signals.
        object : string, optional
            Object path to match on or None to match on all object paths.
        arg0 : string, optional
            Contents of first string argument to match on or None to match on all kinds of arguments.
        flags : SubscriptionFlags, optional
        signal_fired : callable, optional
            Invoked when there is a signal matching the requested data.
            Parameters: sender, object, iface, signal, params

        Returns
        -------
        Subscription
            An object you can use as a context manager to unsubscribe from the signal later.

        See Also
        --------
        See https://developer.gnome.org/gio/2.44/GDBusConnection.html#g-dbus-connection-signal-subscribe
        for more information.
        """
        callback = (lambda con, sender, object, iface, signal, params: signal_fired(sender, object, iface, signal, params.unpack())) if signal_fired is not None else lambda *args: None
        return Subscription(self.con, sender, iface, signal, object, arg0, flags, callback)

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0977 ]--