| GSSDP Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | Signals | ||||
GSSDPClient;
GSSDPClient * gssdp_client_new (GMainContext *main_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 *main_context, GError **error);
|
The GMainContext to associate with, or NULL |
|
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, or NULL.
|
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.
"server-id" property"server-id" gchar* : Read / Write
The SSDP server's identifier.
Default value: NULL