telepathy-glib API Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties | Signals |
#include <telepathy-glib/telepathy-glib.h> TpStreamTubeConnection; TpStreamTubeConnectionClass; TpStreamTubeChannel * tp_stream_tube_connection_get_channel (TpStreamTubeConnection *self
); TpContact * tp_stream_tube_connection_get_contact (TpStreamTubeConnection *self
); GSocketConnection * tp_stream_tube_connection_get_socket_connection (TpStreamTubeConnection *self
);
"channel" TpStreamTubeChannel* : Read / Write / Construct Only "contact" TpContact* : Read / Write / Construct Only "socket-connection" GSocketConnection* : Read / Write / Construct Only
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
TpStreamTubeChannel * tp_stream_tube_connection_get_channel
(TpStreamTubeConnection *self
);
Return the "channel" property
|
a TpStreamTubeConnection |
Returns : |
the value of "channel". [transfer none] |
Since 0.13.2
TpContact * tp_stream_tube_connection_get_contact
(TpStreamTubeConnection *self
);
Return the "contact" property
|
a TpStreamTubeConnection |
Returns : |
the value of "contact". [transfer none] |
Since 0.13.2
GSocketConnection * tp_stream_tube_connection_get_socket_connection
(TpStreamTubeConnection *self
);
Return the "socket-connection" property
|
a TpStreamTubeConnection |
Returns : |
the value of "socket-connection". [transfer none] |
Since 0.13.2
"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
"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.
If not NULL
, the TpContact objects is guaranteed to have all of the
features previously passed to
tp_simple_client_factory_add_contact_features()
prepared.
Since 0.13.2
"closed"
signalvoid user_function (TpStreamTubeConnection *self,
GError *error,
gpointer user_data) : Run Last
The ::closed signal is emitted when the connection manager reports that a tube connection has been closed.
|
the TpStreamTubeConnection |
|
a GError representing the error reported by the connection manager. [transfer none] |
|
user data set when the signal handler was connected. |
Since 0.13.2