TelepathyGLib.BaseClient¶
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
|
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
The |
||
r/w/co |
Object implementing |
||
r/w/co |
The dbus daemon associated with this client |
||
r/w/co |
The |
||
r/w/co |
The name of the client |
||
r/w/co |
if |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Emitted when a channels have been requested, and that if the request is successful, they will probably be handled by this Handler. |
|
Emitted when a request has failed and should be disregarded. |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class TelepathyGLib.BaseClient(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
Data structure representing a generic #TpSvcClient implementation.
New in version 0.11.5.
- add_account_features(features)¶
- Parameters:
features ([
int
]) – the features
Request that the given features are prepared on each
TelepathyGLib.Account
(in addition to %TP_ACCOUNT_FEATURE_CORE) before calling TelepathyGLib.BaseClientClass.observe_channels, TelepathyGLib.BaseClientClass.add_dispatch_operation or TelepathyGLib.BaseClientClass.handle_channels, or emittingTelepathyGLib.BaseClient
::request-added
.New in version 0.11.14.
Deprecated since version ???: New code should use
TelepathyGLib.SimpleClientFactory.add_account_features
() instead.
- add_approver_filter(filter)¶
- Parameters:
filter ({
str
:GObject.Value
}) – a %TP_HASH_TYPE_CHANNEL_CLASS
Register a new channel class as Approver.ApproverChannelFilter. The TelepathyGLib.BaseClientClass.add_dispatch_operation virtual method will be called whenever a new channel’s properties match the ones in filter.
This method may only be called before
TelepathyGLib.BaseClient.register
() is called, and may only be called on objects whose class implements TelepathyGLib.BaseClientClass.add_dispatch_operation.New in version 0.11.5.
- add_approver_filter_vardict(filter)¶
- Parameters:
filter (
GLib.Variant
) – a variant of type %G_VARIANT_TYPE_VARDICT
Register a new channel class as Approver.ApproverChannelFilter. The TelepathyGLib.BaseClientClass.add_dispatch_operation virtual method will be called whenever a new channel’s properties match the ones in filter.
This method may only be called before
TelepathyGLib.BaseClient.register
() is called, and may only be called on objects whose class implements TelepathyGLib.BaseClientClass.add_dispatch_operation.If the variant is floating (see
GLib.Variant.ref_sink
()), ownership will be taken. SeeTelepathyGLib.BaseClient.add_observer_filter_vardict
() for more details.New in version 0.19.10.
- add_channel_features(features)¶
- Parameters:
features ([
int
]) – the features
Request that the given features are prepared on each
TelepathyGLib.Channel
(in addition to %TP_CHANNEL_FEATURE_CORE) before calling TelepathyGLib.BaseClientClass.observe_channels, TelepathyGLib.BaseClientClass.add_dispatch_operation or TelepathyGLib.BaseClientClass.handle_channels.New in version 0.11.14.
Deprecated since version ???: New code should use
TelepathyGLib.SimpleClientFactory.add_channel_features
() instead.
- add_connection_features(features)¶
- Parameters:
features ([
int
]) – the features
Request that the given features are prepared on each
TelepathyGLib.Connection
(in addition to %TP_CONNECTION_FEATURE_CORE) before calling TelepathyGLib.BaseClientClass.observe_channels, TelepathyGLib.BaseClientClass.add_dispatch_operation or TelepathyGLib.BaseClientClass.handle_channels.New in version 0.11.14.
Deprecated since version ???: New code should use
TelepathyGLib.SimpleClientFactory.add_connection_features
() instead.
- add_handler_capabilities(tokens)¶
- Parameters:
tokens ([
str
]) – capability tokens as defined by the Telepathy D-Bus API Specification
Add several capability tokens to this client. These are used to signal that Telepathy connection managers should advertise certain capabilities to other contacts, such as the ability to receive audio/video calls using particular streaming protocols and codecs.
This method may only be called before
TelepathyGLib.BaseClient.register
() is called, and may only be called on objects whose class implements TelepathyGLib.BaseClientClass.handle_channels.New in version 0.11.6.
- add_handler_capability(token)¶
- Parameters:
token (
str
) – a capability token as defined by the Telepathy D-Bus API Specification
Add one capability token to this client, as if via
TelepathyGLib.BaseClient.add_handler_capabilities
().This method may only be called before
TelepathyGLib.BaseClient.register
() is called, and may only be called on objects whose class implements TelepathyGLib.BaseClientClass.handle_channels.New in version 0.11.6.
- add_handler_filter(filter)¶
- Parameters:
filter ({
str
:GObject.Value
}) – a %TP_HASH_TYPE_CHANNEL_CLASS
Register a new channel class as Handler.HandlerChannelFilter. The TelepathyGLib.BaseClientClass.handle_channels virtual method will be called whenever a new channel’s properties match the ones in filter.
This method may only be called before
TelepathyGLib.BaseClient.register
() is called, and may only be called on objects whose class implements TelepathyGLib.BaseClientClass.handle_channels.New in version 0.11.6.
- add_handler_filter_vardict(filter)¶
- Parameters:
filter (
GLib.Variant
) – a variant of type %G_VARIANT_TYPE_VARDICT
Register a new channel class as Handler.HandlerChannelFilter. The TelepathyGLib.BaseClientClass.handle_channels virtual method will be called whenever a new channel’s properties match the ones in filter.
This method may only be called before
TelepathyGLib.BaseClient.register
() is called, and may only be called on objects whose class implements TelepathyGLib.BaseClientClass.handle_channels.If the variant is floating (see
GLib.Variant.ref_sink
()), ownership will be taken. SeeTelepathyGLib.BaseClient.add_observer_filter_vardict
() for more details.New in version 0.19.10.
- add_observer_filter(filter)¶
- Parameters:
filter ({
str
:GObject.Value
}) – a %TP_HASH_TYPE_CHANNEL_CLASS
Register a new channel class as Observer.ObserverChannelFilter. The TelepathyGLib.BaseClientClass.observe_channels virtual method will be called whenever a new channel’s properties match the ones in filter.
This method may only be called before
TelepathyGLib.BaseClient.register
() is called, and may only be called on objects whose class implements TelepathyGLib.BaseClientClass.observe_channels.New in version 0.11.5.
- add_observer_filter_vardict(filter)¶
- Parameters:
filter (
GLib.Variant
) – a variant of type %G_VARIANT_TYPE_VARDICT
Register a new channel class as Observer.ObserverChannelFilter. The TelepathyGLib.BaseClientClass.observe_channels virtual method will be called whenever a new channel’s properties match the ones in filter.
This method may only be called before
TelepathyGLib.BaseClient.register
() is called, and may only be called on objects whose class implements TelepathyGLib.BaseClientClass.observe_channels.If the variant is floating (see
GLib.Variant.ref_sink
()), ownership will be taken, allowing for uses like this:tp_base_client_add_observer_filter_vardict (client, g_variant_new_parsed ("{ %s: <%s>, %s: <%u>, ... }", TP_PROP_CHANNEL_CHANNEL_TYPE, TP_IFACE_CHANNEL_TYPE_TEXT, TP_PROP_CHANNEL_TARGET_HANDLE_TYPE, (guint32) TP_HANDLE_TYPE_CONTACT, ...));
New in version 0.19.10.
- be_a_handler()¶
Register self as a Client.Handler with an empty list of filters. This is useful if you want to create a client that only handle channels for which it’s the PreferredHandler.
This method may only be called before
TelepathyGLib.BaseClient.register
() is called, and may only be called on objects whose class implements TelepathyGLib.BaseClientClass.handle_channels.New in version 0.11.6.
- delegate_channels_async(channels, user_action_time, preferred_handler, callback, *user_data)¶
- Parameters:
channels ([
TelepathyGLib.Channel
]) – aGLib.List
ofTelepathyGLib.Channel
handled by selfuser_action_time (
int
) – the time at which user action occurred, orTelepathyGLib.USER_ACTION_TIME_NOT_USER_ACTION
if this delegation request is for some reason not involving user action.preferred_handler (
str
) – Either the well-known bus name (starting withTelepathyGLib.CLIENT_BUS_NAME_BASE
) of the preferred handler for the channels, orNone
to indicate that any handler but self would be acceptable.callback (
Gio.AsyncReadyCallback
orNone
) – a callback to call when the request is satisfied
Asynchronously calls DelegateChannels on the ChannelDispatcher to try stopping handling channels and pass them to another Handler. You can then call
TelepathyGLib.BaseClient.delegate_channels_finish
() to get the result of the operation.New in version 0.15.0.
- delegate_channels_finish(result)¶
- Parameters:
result (
Gio.AsyncResult
) – aGio.AsyncResult
- Raises:
- Returns:
True
if the operation succeed, delegated and not_delegated can be used to know the channels that self is not handling any more, otherwiseFalse
.- delegated:
if not
None
, used to return aGLib.PtrArray
containing theTelepathyGLib.Channel
s which have been properly delegated- not_delegated:
if not not
None
, used to return aGLib.HashTable
mappingTelepathyGLib.Channel
s which have not been delegated to aGLib.Error
explaining the reason of the failure
- Return type:
(
bool
, delegated: [TelepathyGLib.Channel
], not_delegated: {TelepathyGLib.Channel
:GLib.Error
})
Finishes an async channels delegation request started using
TelepathyGLib.BaseClient.delegate_channels_async
().New in version 0.15.0.
- dup_handled_channels()¶
- Returns:
the handled channels
- Return type:
Returns the set of channels currently handled by this base client or by any other
TelepathyGLib.BaseClient
with which it shares a unique name.New in version 0.19.9.
- dup_pending_requests()¶
- Returns:
- Return type:
Only works if
TelepathyGLib.BaseClient.set_handler_request_notification
() has been called. Returns the list of requests self is likely be asked to handle.New in version 0.19.9.
- get_bus_name()¶
- Returns:
the bus name of the client
- Return type:
Return the bus name of self. Note that doesn’t mean the client is actually owning this name; for example if
TelepathyGLib.BaseClient.register
() has not been called yet or failed.New in version 0.11.5.
- get_dbus_daemon()¶
- Returns:
the value of
TelepathyGLib.BaseClient
:dbus-daemon
- Return type:
Return the
TelepathyGLib.BaseClient
:dbus-daemon
construct-only property, which represents the D-Bus connection used to export this client object.The returned object’s reference count is not incremented, so it is not necessarily valid after self is destroyed.
New in version 0.11.11.
- get_handled_channels()¶
- Returns:
the handled channels
- Return type:
Returns the set of channels currently handled by this base client or by any other
TelepathyGLib.BaseClient
with which it shares a unique name.New in version 0.11.6.
Deprecated since version 0.19.9: New code should use
TelepathyGLib.BaseClient.dup_handled_channels
() instead.
- get_name()¶
- Returns:
the value of
TelepathyGLib.BaseClient
:name
- Return type:
Return the
TelepathyGLib.BaseClient
:name
construct-only property, which is used as part of the bus name and object path.New in version 0.11.11.
- get_object_path()¶
- Returns:
the object path of the client
- Return type:
Return the object path of self. Note that doesn’t mean the client is actually registered on this path; for example if
TelepathyGLib.BaseClient.register
() has not been called yet or failed.New in version 0.11.5.
- get_pending_requests()¶
- Returns:
- Return type:
Only works if
TelepathyGLib.BaseClient.set_handler_request_notification
() has been called. Returns the list of requests self is likely be asked to handle.New in version 0.11.6.
Deprecated since version 0.19.9: New code should use
TelepathyGLib.BaseClient.dup_pending_requests
() instead.
- get_uniquify_name()¶
- Returns:
the value of
TelepathyGLib.BaseClient
:uniquify-name
- Return type:
Return the
TelepathyGLib.BaseClient
:uniquify-name
construct-only property; if this is true, the bus name and object path will be made unique by appending a suffix that includes the D-Bus unique name and a per-process counter.New in version 0.11.11.
- is_handling_channel(channel)¶
- Parameters:
channel (
TelepathyGLib.Channel
) – aTelepathyGLib.Channel
- Returns:
- Return type:
Check if self is currently handling channel.
New in version 0.14.5.
- register()¶
- Raises:
- Returns:
True
if the client was registered successfully- Return type:
Publish self as an available client. After this method is called, as long as it continues to exist, it will receive and process whatever events were requested via the various filters.
Methods that set the filters and other immutable state, such as
TelepathyGLib.BaseClient.add_observer_filter
(), cannot be called after this one.New in version 0.11.5.
- set_channel_factory(factory)¶
- Parameters:
factory (
TelepathyGLib.ClientChannelFactory
) – an object implementing theTelepathyGLib.ClientChannelFactoryInterface
interface
Change the value of the
TelepathyGLib.BaseClient
:channel-factory
property. It can’t be changed once self has been registered.New in version 0.13.2.
Deprecated since version ???: since 0.15.5. The factory is taken from
TelepathyGLib.BaseClient
:account-manager
.
- set_delegated_channels_callback(callback, *user_data)¶
- Parameters:
callback (
TelepathyGLib.BaseClientDelegatedChannelsCb
) – function called when channels currently handled by self are delegated, may not beNone
user_data (
object
orNone
) – arbitrary user-supplied data passed to callback
Turn on support for the org.freedesktop.Telepathy.ChannelRequest.DelegateToPreferredHandler hint.
When receiving a request containing this hint, self will automatically delegate the channels to the preferred handler of the request and then call callback to inform the client that it is no longer handling those channels.
New in version 0.15.3.
- set_handler_bypass_approval(bypass_approval)¶
- Parameters:
bypass_approval (
bool
) – the value of the Handler.BypassApproval property
Set whether the channels destined for this handler are automatically handled, without invoking approvers. (This is implemented by setting the value of its BypassApproval D-Bus property.)
This method may only be called before
TelepathyGLib.BaseClient.register
() is called, and may only be called on objects whose class implements TelepathyGLib.BaseClientClass.handle_channels.New in version 0.11.6.
- set_handler_request_notification()¶
Indicate that self is a Handler willing to be notified about requests for channels that it is likely to be asked to handle. This means that the
TelepathyGLib.BaseClient
::request-added
andTelepathyGLib.BaseClient
::request-removed
signals will be fired andTelepathyGLib.BaseClient.get_pending_requests
() will return the list of pending requests.This method may only be called before
TelepathyGLib.BaseClient.register
() is called, and may only be called on objects whose class implements TelepathyGLib.BaseClientClass.handle_channels.New in version 0.11.6.
- set_observer_delay_approvers(delay)¶
- Parameters:
delay (
bool
) – the value of the Observer.DelayApprovers property
Set whether the channel dispatcher should wait for
TelepathyGLib.ObserveChannelsContext.accept
() orTelepathyGLib.ObserveChannelsContext.fail
() to be called before calling TelepathyGLib.BaseClientClass.add_dispatch_operation on appropriate Approvers.This is implemented by setting the value of the DelayApprovers D-Bus property.
This method may only be called before
TelepathyGLib.BaseClient.register
() is called, and may only be called on objects whose class implements TelepathyGLib.BaseClientClass.observe_channels.New in version 0.13.16.
- set_observer_recover(recover)¶
- Parameters:
recover (
bool
) – the value of the Observer.Recover property
Set whether the channel dispatcher should attempt to recover this Observer if it crashes. (This is implemented by setting the value of its Recover D-Bus property.)
Normally, Observers are only notified when new channels appear. If an Observer is set to recover, when it registers with
TelepathyGLib.BaseClient.register
(), it will also be told about any channels that already existed before it started.For Observers that are activatable as a D-Bus service, if the Observer exits or crashes while there are any channels that match its filter, it will automatically be restarted by service-activation.
This method may only be called before
TelepathyGLib.BaseClient.register
() is called, and may only be called on objects whose class implements TelepathyGLib.BaseClientClass.observe_channels.New in version 0.11.5.
- unregister()¶
Remove this client object from D-Bus, if
TelepathyGLib.BaseClient.register
() has already been called.If the object is not registered, this method may be called, but has no effect.
Releasing the last reference to the object also has the same effect as calling this method, but this method should be preferred, as it has more deterministic behaviour.
If the object still exists,
TelepathyGLib.BaseClient.register
() may be used to attempt to register it again.New in version 0.11.6.
- do_add_dispatch_operation(account, connection, channels, dispatch_operation, context) virtual¶
- Parameters:
account (
TelepathyGLib.Account
) – aTelepathyGLib.Account
with %TP_ACCOUNT_FEATURE_CORE, and any other features added viaTelepathyGLib.BaseClient.add_account_features
() orTelepathyGLib.SimpleClientFactory.add_account_features
(), prepared if possibleconnection (
TelepathyGLib.Connection
) – aTelepathyGLib.Connection
with %TP_CONNECTION_FEATURE_CORE, and any other features added viaTelepathyGLib.BaseClient.add_connection_features
(), orTelepathyGLib.SimpleClientFactory.add_connection_features
(), prepared if possiblechannels ([
TelepathyGLib.Channel
]) – aGLib.List
ofTelepathyGLib.Channel
, each with %TP_CHANNEL_FEATURE_CORE, and any other features added viaTelepathyGLib.BaseClient.add_channel_features
() orTelepathyGLib.SimpleClientFactory.add_channel_features
(), prepared if possibledispatch_operation (
TelepathyGLib.ChannelDispatchOperation
) – aTelepathyGLib.ChannelDispatchOperation
having %TP_CHANNEL_DISPATCH_OPERATION_FEATURE_CORE prepared if possiblecontext (
TelepathyGLib.AddDispatchOperationContext
) – aTelepathyGLib.ObserveChannelsContext
representing the context of this D-Bus call
the function called to request user approval of unrequested (incoming) channels matching this client’s approver filter (since 0.11.13)
- do_handle_channels(account, connection, channels, requests_satisfied, user_action_time, context) virtual¶
- Parameters:
account (
TelepathyGLib.Account
) – aTelepathyGLib.Account
with %TP_ACCOUNT_FEATURE_CORE, and any other features added viaTelepathyGLib.BaseClient.add_account_features
() orTelepathyGLib.SimpleClientFactory.add_account_features
(), prepared if possibleconnection (
TelepathyGLib.Connection
) – aTelepathyGLib.Connection
with %TP_CONNECTION_FEATURE_CORE, and any other features added viaTelepathyGLib.BaseClient.add_connection_features
(), orTelepathyGLib.SimpleClientFactory.add_connection_features
(), prepared if possiblechannels ([
TelepathyGLib.Channel
]) – aGLib.List
ofTelepathyGLib.Channel
, each with %TP_CHANNEL_FEATURE_CORE, and any other features added viaTelepathyGLib.BaseClient.add_channel_features
() orTelepathyGLib.SimpleClientFactory.add_channel_features
(), prepared if possiblerequests_satisfied ([
TelepathyGLib.ChannelRequest
]) – aGLib.List
ofTelepathyGLib.ChannelRequest
having their object-path defined but are not guaranteed to be prepared.user_action_time (
int
) – the time at which user action occurred, or one of the special valuesTelepathyGLib.USER_ACTION_TIME_NOT_USER_ACTION
or %TP_USER_ACTION_TIME_CURRENT_TIME (seeTelepathyGLib.AccountChannelRequest
:user-action-time
for details)context (
TelepathyGLib.HandleChannelsContext
) – aTelepathyGLib.HandleChannelsContext
representing the context of this D-Bus call
the function called to handle channels matching this client’s handler filter (since 0.11.13)
- do_observe_channels(account, connection, channels, dispatch_operation, requests, context) virtual¶
- Parameters:
account (
TelepathyGLib.Account
) – aTelepathyGLib.Account
with %TP_ACCOUNT_FEATURE_CORE, and any other features added viaTelepathyGLib.BaseClient.add_account_features
() orTelepathyGLib.SimpleClientFactory.add_account_features
(), prepared if possibleconnection (
TelepathyGLib.Connection
) – aTelepathyGLib.Connection
with %TP_CONNECTION_FEATURE_CORE, and any other features added viaTelepathyGLib.BaseClient.add_connection_features
(), orTelepathyGLib.SimpleClientFactory.add_connection_features
(), prepared if possiblechannels ([
TelepathyGLib.Channel
]) – aGLib.List
ofTelepathyGLib.Channel
, each with %TP_CHANNEL_FEATURE_CORE, and any other features added viaTelepathyGLib.BaseClient.add_channel_features
() orTelepathyGLib.SimpleClientFactory.add_channel_features
(), prepared if possibledispatch_operation (
TelepathyGLib.ChannelDispatchOperation
orNone
) – aTelepathyGLib.ChannelDispatchOperation
orNone
; the dispatch_operation is not guaranteed to be preparedrequests ([
TelepathyGLib.ChannelRequest
]) – aGLib.List
ofTelepathyGLib.ChannelRequest
having their object-path defined but are not guaranteed to be prepared.context (
TelepathyGLib.ObserveChannelsContext
) – aTelepathyGLib.ObserveChannelsContext
representing the context of this D-Bus call
the function called to observe newly-created channels matching this client’s observer filter (since 0.11.13)
Signal Details¶
- TelepathyGLib.BaseClient.signals.request_added(base_client, account, request)¶
- Signal Name:
request-added
- Flags:
- Parameters:
base_client (
TelepathyGLib.BaseClient
) – The object which received the signalaccount (
TelepathyGLib.Account
) – theTelepathyGLib.Account
on which the request was made, with %TP_ACCOUNT_FEATURE_CORE, and any other features added viaTelepathyGLib.BaseClient.add_account_features
() orTelepathyGLib.SimpleClientFactory.add_account_features
(), prepared if possiblerequest (
TelepathyGLib.ChannelRequest
) – aTelepathyGLib.ChannelRequest
having its object-path defined but is not guaranteed to be prepared.
Emitted when a channels have been requested, and that if the request is successful, they will probably be handled by this Handler.
This signal is only fired if
TelepathyGLib.BaseClient.set_handler_request_notification
() has been called on self previously.New in version 0.11.6.
- TelepathyGLib.BaseClient.signals.request_removed(base_client, request, error, message)¶
- Signal Name:
request-removed
- Flags:
- Parameters:
base_client (
TelepathyGLib.BaseClient
) – The object which received the signalrequest (
TelepathyGLib.ChannelRequest
) – theTelepathyGLib.ChannelRequest
being removederror (
str
) – the name of the D-Bus error with which the request failed.message (
str
) – any message supplied with the D-Bus error.
Emitted when a request has failed and should be disregarded.
This signal is only fired if
TelepathyGLib.BaseClient.set_handler_request_notification
() has been called on self previously.New in version 0.11.6.
Property Details¶
- TelepathyGLib.BaseClient.props.account_manager¶
- Name:
account-manager
- Type:
- Default Value:
- Flags:
Account manager for this base client, used to look up or create
TelepathyGLib.Account
objects. This may be specified in the constructor in order to get existingTelepathyGLib.Account
objects.It is not guaranteed that any of its features have been prepared, and it is not necessary to wait for any features before specifying this property in the constructor.
Clients that interact with the
TelepathyGLib.Account
should usually set this property instead ofTelepathyGLib.BaseClient
:dbus-daemon
. Doing this will ensure that each account, connection or contact is represented by a singleTelepathyGLib.Account
,TelepathyGLib.Connection
orTelepathyGLib.Contact
object, shared between all the cooperating modules that have the sameTelepathyGLib.AccountManager
.If the
TelepathyGLib.BaseClient
:dbus-daemon
is set to the result ofTelepathyGLib.DBusDaemon.dup
(), then this property defaults to the result ofTelepathyGLib.AccountManager.dup
().This property may be
None
initially, but will always be non-None
after theTelepathyGLib.BaseClient
has been constructed.It is an error to specify both a non-
None
account manager, and a non-None
TelepathyGLib.BaseClient
:dbus-daemon
that is not the same as the account manager’sTelepathyGLib.Proxy
:dbus-daemon
.New in version 0.11.14.
Deprecated since version ???: New code should not use this property, it may be
None
in the case self was constructed with aTelepathyGLib.SimpleClientFactory
.
- TelepathyGLib.BaseClient.props.channel_factory¶
- Name:
channel-factory
- Type:
- Default Value:
- Flags:
The object implementing the
TelepathyGLib.ClientChannelFactoryInterface
interface that will be used to create channel proxies. WhileTelepathyGLib.BaseClient.register
() has not yet been called, this property can be changed usingTelepathyGLib.BaseClient.set_channel_factory
().If no channel factory is specified then
TelepathyGLib.AutomaticProxyFactory
is used.New in version 0.13.2.
Deprecated since version ???: since 0.15.5. The factory is taken from
TelepathyGLib.BaseClient
:account-manager
.
- TelepathyGLib.BaseClient.props.dbus_daemon¶
- Name:
dbus-daemon
- Type:
- Default Value:
- Flags:
TelepathyGLib.DBusDaemon
object encapsulating this object’s connection to D-Bus. Read-only except during construction.This property can’t be
None
after construction.Since 0.11.14 this property may be
None
or unspecified in g_object_new(), but only ifTelepathyGLib.BaseClient
:account-manager
is provided instead, in which case itsTelepathyGLib.Proxy
:dbus-daemon
property will be used.New in version 0.11.5.
- TelepathyGLib.BaseClient.props.factory¶
- Name:
factory
- Type:
- Default Value:
- Flags:
Factory for this base client, used to look up or create
TelepathyGLib.Account
objects.New in version 0.15.5.
- TelepathyGLib.BaseClient.props.name¶
- Name:
name
- Type:
- Default Value:
- Flags:
The name of the client. This is used to register the D-Bus service name and object path of the service.
This property can’t be
None
.New in version 0.11.5.
- TelepathyGLib.BaseClient.props.uniquify_name¶
- Name:
uniquify-name
- Type:
- Default Value:
- Flags:
If
True
,TelepathyGLib.BaseClient.register
() will append an unique token to the service bus name and object path to ensure they are unique.New in version 0.11.5.