query_async


Description:

[ Version ( since = "0.9.1" ) ]
public async Feed query_async (AuthorizationDomain? domain, string feed_uri, Query? query, Type entry_type, Cancellable? cancellable, owned QueryProgressCallback? progress_callback) throws Error

Queries the service's feed_uri feed to build a Feed.

this, feed_uri and query are all reffed/copied when this function is called, so can safely be freed after this function returns.

For more details, see query, which is the synchronous version of this function.

When the operation is finished, callback will be called. You can then call query_async.end to get the results of the operation.

Parameters:

this

a Service

domain

the AuthorizationDomain the query falls under, or null

feed_uri

the feed URI to query, including the host name and protocol

query

a Query with the query parameters, or null

entry_type

a Type for the Entrys to build from the XML

cancellable

optional Cancellable object, or null

progress_callback

a QueryProgressCallback to call when an entry is loaded, or null

callback

a TaskReadyCallback to call when the query is finished

destroy_progress_user_data

the function to call when progress_callback will not be called any more, or null. This function will be called with progress_user_data as a parameter and can be used to free any memory allocated for it.

progress_user_data

data to pass to the progress_callback function

user_data

data to pass to the callback function