TpClientChannelFactoryInterface

TpClientChannelFactoryInterface — an interface for client channel factories

Synopsis

#include <telepathy-glib/client-channel-factory.h>

Object Hierarchy

  GObject
   +----TpStreamTubeConnection

Properties

  "channel"                  TpStreamTubeChannel*  : Read / Write / Construct Only
  "contact"                  TpContact*            : Read / Write / Construct Only
  "socket-connection"        GSocketConnection*    : Read / Write / Construct Only

Signals

  "closed"                                         : Run Last

Description

Client channel factories are used to create channel proxies. An application wanting to use its own TpChannel subclass has to implement an object implementing the TpClientChannelFactoryInterface interface.

Details

Property Details

The "channel" property

  "channel"                  TpStreamTubeChannel*  : Read / Write / Construct Only

The TpStreamTubeChannel channel associated with this connection

This property can't be NULL.

Since 0.13.2


The "contact" property

  "contact"                  TpContact*            : Read / Write / Construct Only

The TpContact with who we are exchanging data through this tube, or NULL if we can't safely identify the contact.

Since 0.13.2


The "socket-connection" property

  "socket-connection"        GSocketConnection*    : Read / Write / Construct Only

The GSocketConnection used to transfer data through this connection. Read-only except during construction.

This property can't be NULL.

Since 0.13.2

Signal Details

The "closed" signal

void                user_function                      (TpStreamTubeConnection *self,
                                                        gpointer                error,
                                                        gpointer                user_data)      : Run Last

The ::closed signal is emitted when the connection manager reports that a tube connection has been closed.

self :

the TpStreamTubeConnection

error :

a GError representing the error reported by the connection manager. [transfer none]

user_data :

user data set when the signal handler was connected.

Since 0.13.2