within the current thread
DBusConnection.getLastSerial
uint getLastSerial()Retrieves the last serial number assigned to a #GDBusMessage on the current thread. This includes messages sent via both low-level API such as gio.dbus_connection.DBusConnection.sendMessage as well as high-level API such as gio.dbus_connection.DBusConnection.emitSignal, gio.dbus_connection.DBusConnection.call or gio.dbus_proxy.DBusProxy.call.
Returns
the last used serial or zero when no message has been sent