Function

Dexdbus_connection_send_message_with_reply

Declaration [src]

DexFuture*
dex_dbus_connection_send_message_with_reply (
  GDBusConnection* connection,
  GDBusMessage* message,
  GDBusSendMessageFlags flags,
  int timeout_msec,
  guint32* out_serial
)

Description [src]

Wrapper for g_dbus_connection_send_message_with_reply().

Available since:0.4

Parameters

connection GDBusConnection*
 

A GDBusConnection.

 The data is owned by the caller of the function.
message GDBusMessage*
 

A GDBusMessage.

 The data is owned by the caller of the function.
flags GDBusSendMessageFlags
 

Flags for message.

timeout_msec int
 

Timeout in milliseconds, or -1 for default, or G_MAXINT for no timeout.

out_serial guint32*
 

A location for the message serial number.

 The argument will be set by the function.
 The argument can be set to NULL.
 The called function takes ownership of the data, and is responsible for freeing it.

Return value

Returns: 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.