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:channelpropertyNew in version 0.13.2.
- get_contact()¶
 - Returns:
 the value of
TelepathyGLib.StreamTubeConnection:contact- Return type:
 
Return the
TelepathyGLib.StreamTubeConnection:contactpropertyNew in version 0.13.2.
- get_socket_connection()¶
 - Returns:
 the value of
TelepathyGLib.StreamTubeConnection:socket-connection- Return type:
 
Return the
TelepathyGLib.StreamTubeConnection:socket-connectionpropertyNew 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.Errorrepresenting the error reported by the connection manager
The
::closedsignal 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.StreamTubeChannelchannel 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.Contactwith who we are exchanging data through this tube, orNoneif we can’t safely identify the contact.If not
None, theTelepathyGLib.Contactobjects 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.SocketConnectionused to transfer data through this connection. Read-only except during construction.This property can’t be
None.New in version 0.13.2.