DBusConnection.getLastSerial

Retrieves the last serial number assigned to a gio.DBusMessage on the current thread. This includes messages sent via both low-level API such as g_dbus_connection_send_message() as well as high-level API such as g_dbus_connection_emit_signal(), g_dbus_connection_call() or g_dbus_proxy_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

Meta

Since

2.34