![]() |
![]() |
![]() |
GSSDP Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties | Signals |
GSSDPClient; GSSDPClient* gssdp_client_new (GMainContext *context, GError **error); GMainContext* gssdp_client_get_main_context (GSSDPClient *client); void gssdp_client_set_server_id (GSSDPClient *client, const char *server_id); const char* gssdp_client_get_server_id (GSSDPClient *client);
"error" gpointer : Write / Construct Only "main-context" gpointer : Read / Write / Construct Only "server-id" gchar* : Read / Write
GSSDPClient wraps the SSDP "bus" as used by both GSSDPResourceBrowser and GSSDPResourceGroup.
GSSDPClient* gssdp_client_new (GMainContext *context, GError **error);
|
|
|
Location to store error, or NULL |
Returns : |
A new GSSDPClient object. |
GMainContext* gssdp_client_get_main_context (GSSDPClient *client);
|
A GSSDPClient |
Returns : |
The GMainContext client is associated with.
|
void gssdp_client_set_server_id (GSSDPClient *client, const char *server_id);
Sets the server ID of client
to server_id
.
|
A GSSDPClient |
|
The server ID |
const char* gssdp_client_get_server_id (GSSDPClient *client);
|
A GSSDPClient |
Returns : |
The server ID. |
"error"
property"error" gpointer : Write / Construct Only
Internal property.
Stability Level Private
"main-context"
property"main-context" gpointer : Read / Write / Construct Only
The GMainContext to use. Set to NULL to use the default.
"message-received"
signalvoid user_function (GSSDPClient *arg0, gchar *arg1, guint arg2, gint arg3, gpointer arg4, gpointer user_data) : Run Last
Internal signal.
|
user data set when the signal handler was connected. |
Stability Level: Private