![]() |
![]() |
![]() |
telepathy-glib Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties | Signals |
#include <telepathy-glib/handle-channels-context.h> TpHandleChannelsContext; void tp_handle_channels_context_accept (TpHandleChannelsContext *self
); void tp_handle_channels_context_delay (TpHandleChannelsContext *self
); void tp_handle_channels_context_fail (TpHandleChannelsContext *self
,const GError *error
);
"account" TpAccount* : Read / Write / Construct Only "channels" GPtrArray* : Read / Write / Construct Only "connection" TpConnection* : Read / Write / Construct Only "dbus-context" gpointer : Write / Construct Only "handler-info" GHashTable_gchararray+GValue_* : Read / Write / Construct Only "requests-satisfied" GPtrArray* : Read / Write / Construct Only "user-action-time" gint64 : Read / Write / Construct Only
Object used to represent the context of a Handler.HandleChannels() D-Bus call on a TpBaseClient.
typedef struct _TpHandleChannelsContext TpHandleChannelsContext;
Data structure representing the context of a Handler.HandleChannels() call.
Since 0.11.6
void tp_handle_channels_context_accept (TpHandleChannelsContext *self
);
Called by TpBaseClientClassAddDispatchOperationImpl when it's done so the D-Bus method can return.
|
a TpHandleChannelsContext |
Since 0.11.6
void tp_handle_channels_context_delay (TpHandleChannelsContext *self
);
Called by TpBaseClientClassAddDispatchOperationImpl to indicate that it
implements the method in an async way. The caller must take a reference
to the TpHandleChannelsContext before calling this function, and
is responsible for calling either
tp_handle_channels_context_accept()
or
tp_handle_channels_context_fail()
later.
|
a TpHandleChannelsContext |
Since 0.11.6
void tp_handle_channels_context_fail (TpHandleChannelsContext *self
,const GError *error
);
Called by TpBaseClientClassAddDispatchOperationImpl to raise a D-Bus error.
|
a TpHandleChannelsContext |
|
the error to return from the method |
Since 0.11.6
"account"
property"account" TpAccount* : Read / Write / Construct Only
A TpAccount object representing the Account of the DispatchOperation that has been passed to HandleChannels. Read-only except during construction.
This property can't be NULL
.
Since 0.11.6
"channels"
property "channels" GPtrArray* : Read / Write / Construct Only
A GPtrArray containing TpChannel objects representing the channels that have been passed to HandleChannels. Read-only except during construction.
This property can't be NULL
.
Since 0.11.6
"connection"
property"connection" TpConnection* : Read / Write / Construct Only
A TpConnection object representing the Connection of the DispatchOperation that has been passed to HandleChannels. Read-only except during construction.
This property can't be NULL
.
Since 0.11.6
"dbus-context"
property "dbus-context" gpointer : Write / Construct Only
The DBusGMethodInvocation representing the D-Bus context of the HandleChannels call. Can only be written during construction.
Since 0.11.6
"handler-info"
property "handler-info" GHashTable_gchararray+GValue_* : Read / Write / Construct Only
A GHashTable where the keys are string and values are GValue instances. It represents the Handler_info hash table that has been passed to HandleChannels.
This property can't be NULL
.
Since 0.11.6
"requests-satisfied"
property "requests-satisfied" GPtrArray* : Read / Write / Construct Only
A GPtrArray containing TpChannelRequest objects representing the requests that have been passed to HandleChannels. Read-only except during construction.
This property can't be NULL
.
Since 0.11.6
"user-action-time"
property "user-action-time" gint64 : Read / Write / Construct Only
The User_Action_Time that have been passed to HandleChannels. Read-only except during construction.
If 0, the action doesn't involve any user action. Clients SHOULD avoid stealing focus when presenting the channel.
If G_MAXINT64: clients SHOULD behave as though the user action happened at the current time, e.g. a client MAY request that its window gains focus.
Allowed values: >= 0
Default value: 0
Since 0.11.6
"done"
signalvoid user_function (TpHandleChannelsContext *self, gpointer user_data) : Run Last / Has Details
Emitted when tp_handle_channels_context_accept has been called on self
.
|
a TpHandleChannelsContext |
|
user data set when the signal handler was connected. |
Since 0.11.6