BaseClientClassAddDispatchOperationImpl


Description:

[ CCode ( has_target = false ) ]
[ Version ( since = "0.11.5" ) ]
public delegate void BaseClientClassAddDispatchOperationImpl (BaseClient client, Account account, Connection connection, List<Channel> channels, ChannelDispatchOperation dispatch_operation, AddDispatchOperationContext context)

Signature of the implementation of the AddDispatchOperation method.

This function must call either accept, delay or fail on context before it returns.

The implementation can then use handle_with_async to approve handling of the channels, or claim_async to take responsibility for handling or closing them".

Parameters:

client

a BaseClient instance

account

a Account with TP_ACCOUNT_FEATURE_CORE, and any other features added via add_account_features or add_account_features, prepared if possible

connection

a Connection with TP_CONNECTION_FEATURE_CORE, and any other features added via add_connection_features, or add_connection_features, prepared if possible

channels

a List of Channel , each with TP_CHANNEL_FEATURE_CORE, and any other features added via add_channel_features or add_channel_features, prepared if possible

dispatch_operation

a ChannelDispatchOperation having TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE prepared if possible

context

a ObserveChannelsContext representing the context of this D-Bus call


Namespace: TelepathyGLib
Package: telepathy-glib