Logo Search packages:      
Sourcecode: kdbus version File versions  Download package

int QDBusMessage::serialNumber (  )  const

Returns the message's serial number.

The serial number is some kind of short term identifier for messages travelling the same connection.

It can be used to associate a reply or error message with a method call message.

Returns:
the message's serial number or 0 if the message hasn't been send yets
See also:
replySerialNumber()
Returns the unique serial number assigned to this message or 0 if the message was not sent yet.

Definition at line 220 of file qdbusmessage.cpp.

{
    if (!d->msg)
        return 0;
    return dbus_message_get_serial(d->msg);
}


Generated by  Doxygen 1.6.0   Back to index