Method
QrtrBuswait_for_node
since: 1.0
Declaration [src]
void
qrtr_bus_wait_for_node (
QrtrBus* self,
guint32 node_id,
guint timeout_ms,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Asynchronously waits for the node with ID node_id.
When the operation is finished callback will be called. You can then call
qrtr_bus_wait_for_node_finish() to get the result of the operation.
Available since: 1.0
This method completes asynchronously. Use qrtr_bus_wait_for_node_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
node_id-
Type:
guint32The QRTR bus node ID to lookup.
timeout_ms-
Type:
guintThe timeout, in milliseconds, to wait for the node to appear in the bus.
cancellable-
Type:
GCancellableA
GCancellable, orNULL.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackA
GAsyncReadyCallbackto call when the request is satisfied.The argument can be NULL. user_data-
Type:
gpointerUser data to pass to
callback.The argument can be NULL.The data is owned by the caller of the method.