Top |
TpStreamTubeChannel * | channel | Read / Write / Construct Only |
TpContact * | contact | Read / Write / Construct Only |
GSocketConnection * | socket-connection | Read / Write / Construct Only |
TpStreamTubeChannel *
tp_stream_tube_connection_get_channel (TpStreamTubeConnection *self
);
Return the “channel” property
Since 0.13.2
TpContact *
tp_stream_tube_connection_get_contact (TpStreamTubeConnection *self
);
Return the “contact” property
Since 0.13.2
GSocketConnection *
tp_stream_tube_connection_get_socket_connection
(TpStreamTubeConnection *self
);
Return the “socket-connection” property
Since 0.13.2
typedef struct _TpStreamTubeConnection TpStreamTubeConnection;
Data structure representing a connection on a TpStreamTubeChannel.
Since 0.13.2
typedef struct _TpStreamTubeConnectionClass TpStreamTubeConnectionClass;
The class of a TpStreamTubeConnection.
Since 0.13.2
“channel”
property“channel” TpStreamTubeChannel *
The TpStreamTubeChannel channel associated with this connection
This property can't be NULL
.
Flags: Read / Write / Construct Only
Since 0.13.2
“contact”
property“contact” TpContact *
The TpContact with who we are exchanging data through this tube, or
NULL
if we can't safely identify the contact.
If not NULL
, the TpContact objects is guaranteed to have all of the
features previously passed to
tp_client_factory_add_contact_features()
prepared.
Flags: Read / Write / Construct Only
Since 0.13.2
“socket-connection”
property“socket-connection” GSocketConnection *
The GSocketConnection used to transfer data through this connection. Read-only except during construction.
This property can't be NULL
.
Flags: Read / Write / Construct Only
Since 0.13.2
“closed”
signalvoid user_function (TpStreamTubeConnection *self, GError *error, gpointer user_data)
The ::closed signal is emitted when the connection manager reports that a tube connection has been closed.
self |
||
error |
a GError representing the error reported by the connection manager. |
[transfer none] |
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since 0.13.2