DBusConnection.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.

class DBusConnection
uint
getLastSerial
()

Return Value

Type: uint

the last used serial or zero when no message has been sent within the current thread