Method
EDataServerClientwait_for_connected
since: 3.16
Declaration [src]
void
e_client_wait_for_connected (
EClient* client,
guint32 timeout_seconds,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Asynchronously waits until the client is connected (according to ESource::connection-status property), but not longer than timeout_seconds.
The call is finished by e_client_wait_for_connected_finish() from the callback.
Available since: 3.16
This method completes asynchronously. Use e_client_wait_for_connected_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
timeout_seconds-
Type:
guint32A timeout for the wait, in seconds.
cancellable-
Type:
GCancellableA
GCancellable; orNULL.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackCallback to call when a result is ready.
The argument can be NULL. user_data-
Type:
gpointerUser data for the
callback.The argument can be NULL.The data is owned by the caller of the method.