|  |  |  | telepathy-glib API Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals | ||||
| TpCallStreamEndpointTpCallStreamEndpoint — class for TpSvcCallStreamEndpoint implementations | 
#include <telepathy-glib/telepathy-glib.h>
                    TpCallStreamEndpoint;
struct              TpCallStreamEndpointClass;
TpCallStreamEndpoint * tp_call_stream_endpoint_new      (TpDBusDaemon *dbus_daemon,
                                                         const gchar *object_path,
                                                         TpStreamTransportType transport,
                                                         gboolean is_ice_lite);
const gchar *       tp_call_stream_endpoint_get_object_path
                                                        (TpCallStreamEndpoint *self);
TpStreamEndpointState tp_call_stream_endpoint_get_state (TpCallStreamEndpoint *self,
                                                         TpStreamComponent component);
void                tp_call_stream_endpoint_add_new_candidates
                                                        (TpCallStreamEndpoint *self,
                                                         const GPtrArray *candidates);
void                tp_call_stream_endpoint_add_new_candidate
                                                        (TpCallStreamEndpoint *self,
                                                         TpStreamComponent component,
                                                         const gchar *address,
                                                         guint port,
                                                         const GHashTable *info_hash);
void                tp_call_stream_endpoint_set_remote_credentials
                                                        (TpCallStreamEndpoint *self,
                                                         const gchar *username,
                                                         const gchar *password);
TpCallStreamEndpoint implements TpSvcCallStreamEndpoint and TpSvcDBusProperties.
"controlling" gboolean : Read "dbus-daemon" TpDBusDaemon* : Read / Write / Construct Only "endpoint-state" GHashTable_guint+guint_* : Read "is-ice-lite" gboolean : Read / Write / Construct Only "object-path" gchar* : Read / Write / Construct Only "remote-candidates" GPtrArray_GValueArray_guint+gchararray+guint+GHashTable_gchararray+GValue___* : Read "remote-credentials" GValueArray_gchararray+gchararray_* : Read "selected-candidate-pairs" GPtrArray_GValueArray_GValueArray_guint+gchararray+guint+GHashTable_gchararray+GValue__+GValueArray_guint+gchararray+guint+GHashTable_gchararray+GValue____* : Read "transport" guint : Read / Write / Construct Only
"candidate-accepted" :Run Last"candidate-rejected" :Run Last"candidate-selected" :Run Last
This class makes it easier to write TpSvcCallStreamEndpoint implementations by implementing its properties and methods.
typedef struct _TpCallStreamEndpoint TpCallStreamEndpoint;
A class for call stream endpoint implementations
Since 0.17.5
struct TpCallStreamEndpointClass {
};
The class structure for TpCallStreamEndpoint
Since 0.17.5
TpCallStreamEndpoint * tp_call_stream_endpoint_new (TpDBusDaemon *dbus_daemon,const gchar *object_path,TpStreamTransportType transport,gboolean is_ice_lite);
Create a new TpCallStreamEndpoint object. It is registered on the bus at construction, and is unregistered at dispose.
| 
 | value of "dbus-daemon" property | 
| 
 | value of "object-path" property | 
| 
 | value of "transport" property | 
| 
 | value of "is_ice_lite" property | 
| Returns : | a new TpCallStreamEndpoint. | 
Since 0.17.5
const gchar *       tp_call_stream_endpoint_get_object_path
                                                        (TpCallStreamEndpoint *self);
| 
 | a TpCallStreamEndpoint | 
| Returns : | the value of "object-path" | 
Since 0.17.5
TpStreamEndpointState tp_call_stream_endpoint_get_state (TpCallStreamEndpoint *self,TpStreamComponent component);
| 
 | a TpCallStreamEndpoint | 
| 
 | a TpStreamComponent | 
| Returns : | the state of self'scomponent | 
Since 0.17.5
void tp_call_stream_endpoint_add_new_candidates (TpCallStreamEndpoint *self,const GPtrArray *candidates);
Add candidates to the "remote-candidates" property.
See Also: tp_call_stream_endpoint_add_new_candidate().
| 
 | a TpCallStreamEndpoint | 
| 
 | GPtrArray of GValueArray defining the candidates to add | 
Since 0.17.5
void tp_call_stream_endpoint_add_new_candidate (TpCallStreamEndpoint *self,TpStreamComponent component,const gchar *address,guint port,const GHashTable *info_hash);
Add a candidate to the "remote-candidates" property.
See Also: tp_call_stream_endpoint_add_new_candidates().
| 
 | a TpCallStreamEndpoint | 
| 
 | a TpStreamComponent | 
| 
 | an IP address | 
| 
 | a port number | 
| 
 | string -> GValue mapping for extra info | 
Since 0.17.5
void tp_call_stream_endpoint_set_remote_credentials (TpCallStreamEndpoint *self,const gchar *username,const gchar *password);
Set the username and password to use for self's crendentials.
| 
 | a TpCallStreamEndpoint | 
| 
 | the username | 
| 
 | the password | 
Since 0.17.5
"controlling" property"controlling" gboolean : Read
Whether or not the local side is taking the controlling role.
Default value: FALSE
Since 0.17.5
"dbus-daemon" property"dbus-daemon" TpDBusDaemon* : Read / Write / Construct Only
The connection to the DBus daemon owning the CM.
Since 0.17.5
"endpoint-state" property  "endpoint-state"           GHashTable_guint+guint_*  : Read
GHashTable{TpStreamComponent -> TpStreamEndpointState} The state of this endpoint.
Since 0.17.5
"is-ice-lite" property"is-ice-lite" gboolean : Read / Write / Construct Only
Whether or not the Remote side is an ICE Lite endpoint.
Default value: FALSE
Since 0.17.5
"object-path" property"object-path" gchar* : Read / Write / Construct Only
The D-Bus object path used for this object on the bus.
Default value: NULL
Since 0.17.5
"remote-candidates" property  "remote-candidates"        GPtrArray_GValueArray_guint+gchararray+guint+GHashTable_gchararray+GValue___*  : Read
GPtrArray{candidate GValueArray} The remote candidates of this endpoint.
Since 0.17.5
"remote-credentials" property  "remote-credentials"       GValueArray_gchararray+gchararray_*  : Read
GValueArray{username string, password string} The remote credentials of this endpoint.
Since 0.17.5
"selected-candidate-pairs" property  "selected-candidate-pairs" GPtrArray_GValueArray_GValueArray_guint+gchararray+guint+GHashTable_gchararray+GValue__+GValueArray_guint+gchararray+guint+GHashTable_gchararray+GValue____*  : Read
GPtrArray{local-candidate GValueArray, remote-candidate GValueArray} The candidate pairs selected for this endpoint.
Since 0.17.5
"transport" property"transport" guint : Read / Write / Construct Only
The TpStreamTransportType for the content of this endpoint.
Default value: 0
Since 0.17.5
"candidate-accepted" signalvoid                user_function                      (TpCallStreamEndpoint *self,
                                                        gpointer              user_data)      : Run Last
The ::candidate-accepted signal is emitted whenever AcceptSelectedCandidatePair DBus method has been called on this object.
| 
 | the TpCallStreamEndpoint | 
| 
 | the local candidate | 
| 
 | the remote candidate | 
| 
 | user data set when the signal handler was connected. | 
Since 0.17.5
"candidate-rejected" signalvoid                user_function                      (TpCallStreamEndpoint *self,
                                                        gpointer              user_data)      : Run Last
The ::candidate-rejected signal is emitted whenever RejectSelectedCandidatePair DBus method has been called on this object.
| 
 | the TpCallStreamEndpoint | 
| 
 | the local candidate | 
| 
 | the remote candidate | 
| 
 | user data set when the signal handler was connected. | 
Since 0.17.5
"candidate-selected" signalvoid                user_function                      (TpCallStreamEndpoint *self,
                                                        gpointer              user_data)      : Run Last
The ::candidate-selected signal is emitted whenever SetSelectedCandidatePair DBus method has been called on this object.
| 
 | the TpCallStreamEndpoint | 
| 
 | the local candidate | 
| 
 | the remote candidate | 
| 
 | user data set when the signal handler was connected. | 
Since 0.17.5