TelepathyGLib.StreamTubeConnection¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
The channel associated with this connection |
||
r/w/co |
The |
||
r/w/co |
|
Signals¶
- Inherited:
Name |
Short Description |
---|---|
The |
Fields¶
- Inherited:
Class Details¶
- class TelepathyGLib.StreamTubeConnection(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
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:
Return the
TelepathyGLib.StreamTubeConnection
:channel
propertyNew in version 0.13.2.
- get_contact()¶
- Returns:
the value of
TelepathyGLib.StreamTubeConnection
:contact
- Return type:
Return the
TelepathyGLib.StreamTubeConnection
:contact
propertyNew in version 0.13.2.
- get_socket_connection()¶
- Returns:
the value of
TelepathyGLib.StreamTubeConnection
:socket-connection
- Return type:
Return the
TelepathyGLib.StreamTubeConnection
:socket-connection
propertyNew in version 0.13.2.
Signal Details¶
- TelepathyGLib.StreamTubeConnection.signals.closed(stream_tube_connection, error)¶
- Signal Name:
closed
- Flags:
- Parameters:
stream_tube_connection (
TelepathyGLib.StreamTubeConnection
) – The object which received the signalerror (
GLib.Error
) – aGLib.Error
representing the error reported by the connection manager
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:
- Default Value:
- Flags:
The
TelepathyGLib.StreamTubeChannel
channel associated with this connectionThis property can’t be
None
.New in version 0.13.2.
- TelepathyGLib.StreamTubeConnection.props.contact¶
- Name:
contact
- Type:
- Default Value:
- Flags:
The
TelepathyGLib.Contact
with who we are exchanging data through this tube, orNone
if we can’t safely identify the contact.If not
None
, theTelepathyGLib.Contact
objects is guaranteed to have all of the features previously passed toTelepathyGLib.SimpleClientFactory.add_contact_features
() prepared.New in version 0.13.2.
- TelepathyGLib.StreamTubeConnection.props.socket_connection¶
- Name:
socket-connection
- Type:
- Default Value:
- Flags:
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.