send package:dbus
Send a single message, with a generated
Serial. The second
parameter exists to prevent race conditions when registering a reply
handler; it receives the serial the message
will be sent with,
before it's actually sent.
Sockets are thread-safe. Only one message may be sent at a time; if
multiple threads attempt to send messages concurrently, one will block
until after the other has finished.
Throws
SocketError on failure.
The name of the application that sent this call.
Most users will just leave this empty, because the bus overwrites the
sender for security reasons. Setting the sender manually is used for
peer-peer connections.
Defaults to Nothing.
The name of the application that is returning from a call.
Most users will just leave this empty, because the bus overwrites the
sender for security reasons. Setting the sender manually is used for
peer-peer connections.
Defaults to Nothing.
The name of the application that is returning from a call.
Most users will just leave this empty, because the bus overwrites the
sender for security reasons. Setting the sender manually is used for
peer-peer connections.
Defaults to Nothing.
No matter what sort of message was received, get its sender (if
provided).
The name of the application that emitted this signal.
Most users will just leave this empty, because the bus overwrites the
sender for security reasons. Setting the sender manually is used for
peer-peer connections.
Defaults to Nothing.
If set, only receives signals sent from the given bus name.
The standard D-Bus implementation from
http://dbus.freedesktop.org/ almost always sets signal senders
to the unique name of the sending client. If
matchSender is a
requested name like
"com.example.Foo", it will not match any
signals.
The exception is for signals sent by the bus itself, which always have
a sender of
"org.freedesktop.DBus".