TelepathyGLib.ClientChannelFactory

g GObject.GInterface GObject.GInterface TelepathyGLib.ClientChannelFactory TelepathyGLib.ClientChannelFactory GObject.GInterface->TelepathyGLib.ClientChannelFactory

Implementations:

TelepathyGLib.AutomaticProxyFactory, TelepathyGLib.BasicProxyFactory

Methods

create_channel (conn, path, properties)

dup_channel_features (channel)

Virtual Methods

None

Properties

None

Signals

None

Fields

None

Class Details

class TelepathyGLib.ClientChannelFactory
Bases:

GObject.GInterface

Structure:

TelepathyGLib.ClientChannelFactoryInterface

Opaque typedef representing a GObject.Object that implements the %TP_TYPE_CLIENT_CHANNEL_FACTORY interface.

New in version 0.13.6.

create_channel(conn, path, properties)
Parameters:
Raises:

GLib.Error

Returns:

a new channel proxy, or None on invalid arguments

Return type:

TelepathyGLib.Channel

Function called when a channel need to be created. Implementation can return a subclass of TelepathyGLib.Channel if they need to.

Changed in 0.13.6: the function’s signature was previously wrong; it expected an object instance as its first parameter, but the type of the parameter was the type of the interface vtable.

New in version 0.13.2.

dup_channel_features(channel)
Parameters:

channel (TelepathyGLib.Channel) – a TelepathyGLib.Channel

Returns:

a newly allocated GLib.Array

Return type:

[int]

Return a zero terminated GLib.Array containing the TelepathyGLib.Channel features that should be prepared on channel.

Changed in 0.13.6: the function’s signature was previously wrong; it expected an object instance as its first parameter, but the type of the parameter was the type of the interface vtable.

New in version 0.13.3.