Top |
TpAccount * | account | Read / Write / Construct Only |
TpChannel * | channel | Read / Write / Construct Only |
TpConnection * | connection | Read / Write / Construct Only |
gpointer | dbus-context | Write / Construct Only |
TpChannelDispatchOperation * | dispatch-operation | Read / Write / Construct Only |
GVariant * | observer-info | Read / Write / Construct Only |
GPtrArray * | requests | Read / Write / Construct Only |
Object used to represent the context of a Observer.ObserveChannels() D-Bus call on a TpBaseClient.
void
tp_observe_channel_context_accept (TpObserveChannelContext *self
);
Called by TpBaseClientClassObserveChannelImpl when it's done so the D-Bus method can return.
Since 0.11.5
void
tp_observe_channel_context_delay (TpObserveChannelContext *self
);
Called by TpBaseClientClassObserveChannelImpl to indicate that it
implements the method in an async way. The caller must take a reference
to the TpObserveChannelContext before calling this function, and
is responsible for calling either tp_observe_channel_context_accept()
or
tp_observe_channel_context_fail()
later.
Since 0.11.5
void tp_observe_channel_context_fail (TpObserveChannelContext *self
,const GError *error
);
Called by TpBaseClientClassObserveChannelImpl to raise a D-Bus error.
Since 0.11.5
gboolean
tp_observe_channel_context_is_recovering
(TpObserveChannelContext *self
);
If this call to ObserveChannels is for channels that already
existed before this observer started (because the observer used
tp_base_client_set_observer_recover()
), return TRUE
.
In most cases, the result is FALSE
.
Since 0.11.5
GList *
tp_observe_channel_context_get_requests
(TpObserveChannelContext *self
);
Return a list of the TpChannelRequest which have been satisfied by the channels associated with self.
a newly allocated GList of reffed TpChannelRequest.
[transfer full][element-type TelepathyGLib.ChannelRequest]
Since 0.13.14
“account”
property“account” TpAccount *
A TpAccount object representing the Account that has been passed to ObserveChannels. Read-only except during construction.
This property can't be NULL
.
Flags: Read / Write / Construct Only
Since 0.11.5
“channel”
property“channel” TpChannel *
A TpChannel object representing the channel that has been passed to ObserveChannel. Read-only except during construction.
This property can't be NULL
.
Flags: Read / Write / Construct Only
Since 0.11.5
“connection”
property“connection” TpConnection *
A TpConnection object representing the Connection that has been passed to ObserveChannels. Read-only except during construction.
This property can't be NULL
.
Flags: Read / Write / Construct Only
Since 0.11.5
“dbus-context”
property“dbus-context” gpointer
The GDBusMethodInvocation representing the D-Bus context of the ObserveChannels call. Can only be written during construction.
Flags: Write / Construct Only
Since 0.11.5
“dispatch-operation”
property“dispatch-operation” TpChannelDispatchOperation *
A TpChannelDispatchOperation object representing the
ChannelDispatchOperation that has been passed to ObserveChannels,
or NULL
if none has been passed.
Read-only except during construction.
Flags: Read / Write / Construct Only
Since 0.11.5
“observer-info”
property“observer-info” GVariant *
A G_VARIANT_TYPE_VARDICT
.
It represents the Observer_Info hash table that has been passed to
ObserveChannels.
It's recommended to use high-level method such as
tp_observe_channel_context_is_recovering()
to access to its content.
This property can't be NULL
at runtime.
Flags: Read / Write / Construct Only
Allowed values: GVariant<a{sv}>
Default value: NULL
“requests”
property“requests” GPtrArray *
A GPtrArray containing TpChannelRequest objects representing the requests that have been passed to ObserveChannels. Read-only except during construction.
This property can't be NULL
.
Flags: Read / Write / Construct Only
Since 0.11.5