- STATIC FUNCTIONS
my $dbus = Protocol::DBus::Client::system(); $dbus->initialize();
This is the end class for use in DBus client applications. It subclasses Protocol::DBus::Peer.
NOTE: This module will automatically send a “Hello” message after authentication completes. That message’s response will be processed automatically. Because this is part of the protocol’s handshake logic rather than something useful for callers, it is abstracted away from the caller. It is neither necessary nor productive for callers to send a “Hello” message.
Creates an instance of this class that includes a connection to the system’s message bus.
This does not do authentication; you’ll need to do that via the class’s methods.
system() but for the login session’s message bus.
This returns truthy once the connection is ready to use and falsy until then. In blocking I/O contexts the call will block.
Note that this includes the initial
Hello message and its response.
Previously this function was called
do_authn() and did not wait for the
Hello message’s response. The older name is retained as an alias for backward compatibility.
This indicates whether there is data queued up to send for the initialization. Only useful with non-blocking I/O.
This function was previously called
authn_pending_send(); the former name is retained for backward compatibility.
Boolean that indicates whether this client supports UNIX FD passing.
Same as in the base class, but for clients the initial “Hello” message and its response are abstracted
Returns the name of the connection.