delegate_channels_async
Description:
[
Version ( since =
"0.15.0" ) ]
public async bool delegate_channels_async (
List<
Channel> channels,
int64 user_action_time,
string preferred_handler,
out GenericArray<
unowned Channel> delegated,
out HashTable<
unowned Channel,
unowned Error> not_delegated)
throws Error
Asynchronously calls DelegateChannels on the ChannelDispatcher to try stopping handling channels
and pass them to another
Handler.
You can then call delegate_channels_async.end to get the result of the operation.
Parameters:
this |
a BaseClient
|
channels |
a List of Channel handled by
this
|
user_action_time |
the time at which user action occurred, or
USER_ACTION_TIME_NOT_USER_ACTION if this delegation request is for some reason not involving user action.
|
preferred_handler |
Either the well-known bus name (starting with
CLIENT_BUS_NAME_BASE) of the preferred handler for the channels, or null to indicate that any handler but
this would be acceptable.
|
callback |
a callback to call when the request is satisfied
|
user_data |
data to pass to callback
|