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

int QDBusMessage::replySerialNumber (  )  const

Returns the message's reply serial number.

The reply serial number is the serial number of the method call message this message is a reply to.

If this is neither a message of type ReplyMessage or ErrorMessage, the returned value will be 0

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

the serial number of the associated method call message or 0 if this message is not a reply message
See also:





Returns the unique serial number assigned to the message that triggered this reply message.

If this message is not a reply to another message, 0 is returned.

Definition at line 235 of file qdbusmessage.cpp.

Referenced by QDBusProxy::handleAsyncReply().

    if (!d->msg)
        return 0;
    return dbus_message_get_reply_serial(d->msg);

Generated by  Doxygen 1.6.0   Back to index