get_rules_async
Description:
public async void get_rules_async (Service service, Cancellable? cancellable, owned QueryProgressCallback? progress_callback)
Retrieves a Feed containing all the access rules which apply to the given AccessHandler.
Only the owner of a AccessHandler may view its rule feed.
this and service
are both reffed when this function is called, so can safely be unreffed after
this function returns.
For more details, see get_rules, which is the synchronous version of this function, and query_async, which is the base asynchronous query 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 | |
service |
a Service |
cancellable |
optional Cancellable object, or |
progress_callback |
a QueryProgressCallback to call when a rule is loaded, or
|
callback |
a TaskReadyCallback to call when the query is finished |
destroy_progress_user_data |
the function to call when |
progress_user_data |
data to pass to the |
user_data |
data to pass to the |