Function
Dexdbus_connection_send_message_with_reply
since: 0.4
Declaration [src]
DexFuture*
dex_dbus_connection_send_message_with_reply (
GDBusConnection* connection,
GDBusMessage* message,
GDBusSendMessageFlags flags,
int timeout_msec,
guint32* out_serial
)
Parameters
connection-
Type:
GDBusConnectionA
GDBusConnection.The data is owned by the caller of the function. message-
Type:
GDBusMessageA
GDBusMessage.The data is owned by the caller of the function. flags-
Type:
GDBusSendMessageFlagsFlags for
message. timeout_msec-
Type:
intTimeout in milliseconds, or -1 for default, or
G_MAXINTfor no timeout. out_serial-
Type:
guint32*A location for the message serial number.
The argument will be set by the function. The argument can be NULL.
Return value
Type: DexFuture
A DexFuture that will resolve to a GDBusMessage
or reject with failure.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |