get_last_serial


Description:

[ Version ( since = "2.34" ) ]
public uint32 get_last_serial ()

Retrieves the last serial number assigned to a DBusMessage on the current thread.

This includes messages sent via both low-level API such as send_message as well as high-level API such as emit_signal, call or call.

Parameters:

this

a DBusConnection

Returns:

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