TelepathyGLib.StreamTubeConnection

g GObject.Object GObject.Object TelepathyGLib.StreamTubeConnection TelepathyGLib.StreamTubeConnection GObject.Object->TelepathyGLib.StreamTubeConnection

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_channel ()

get_contact ()

get_socket_connection ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

channel

TelepathyGLib.StreamTubeChannel

r/w/co

The channel associated with this connection

contact

TelepathyGLib.Contact

r/w/co

The TelepathyGLib.Contact of the connection

socket-connection

Gio.SocketConnection

r/w/co

Gio.SocketConnection used to transfer data

Signals

Inherited:

GObject.Object (1)

Name

Short Description

closed

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

Fields

Inherited:

GObject.Object (1)

Class Details

class TelepathyGLib.StreamTubeConnection(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

TelepathyGLib.StreamTubeConnectionClass

Data structure representing a connection on a TelepathyGLib.StreamTubeChannel.

New in version 0.13.2.

get_channel()
Returns:

the value of TelepathyGLib.StreamTubeConnection :channel

Return type:

TelepathyGLib.StreamTubeChannel

Return the TelepathyGLib.StreamTubeConnection :channel property

New in version 0.13.2.

get_contact()
Returns:

the value of TelepathyGLib.StreamTubeConnection :contact

Return type:

TelepathyGLib.Contact

Return the TelepathyGLib.StreamTubeConnection :contact property

New in version 0.13.2.

get_socket_connection()
Returns:

the value of TelepathyGLib.StreamTubeConnection :socket-connection

Return type:

Gio.SocketConnection

Return the TelepathyGLib.StreamTubeConnection :socket-connection property

New in version 0.13.2.

Signal Details

TelepathyGLib.StreamTubeConnection.signals.closed(stream_tube_connection, error)
Signal Name:

closed

Flags:

RUN_LAST

Parameters:

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

New in version 0.13.2.

Property Details

TelepathyGLib.StreamTubeConnection.props.channel
Name:

channel

Type:

TelepathyGLib.StreamTubeChannel

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The TelepathyGLib.StreamTubeChannel channel associated with this connection

This property can’t be None.

New in version 0.13.2.

TelepathyGLib.StreamTubeConnection.props.contact
Name:

contact

Type:

TelepathyGLib.Contact

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The TelepathyGLib.Contact with who we are exchanging data through this tube, or None if we can’t safely identify the contact.

If not None, the TelepathyGLib.Contact objects is guaranteed to have all of the features previously passed to TelepathyGLib.SimpleClientFactory.add_contact_features() prepared.

New in version 0.13.2.

TelepathyGLib.StreamTubeConnection.props.socket_connection
Name:

socket-connection

Type:

Gio.SocketConnection

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

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

This property can’t be None.

New in version 0.13.2.