RootDevice
Object Hierarchy:
Description:
[
CCode ( type_id =
"gupnp_root_device_get_type ()" ) ]
public class RootDevice :
Device
This struct contains private data only, and should be accessed using the functions below.
Content:
Properties:
- public bool available { get; set; }
TRUE if this device is available.
- public string description_dir { get; construct; }
The path to directory where description documents are provided.
- public XMLDoc description_doc { construct; }
Device description document.
- public string description_path { get; construct; }
The path to device description document.
Creation methods:
- public RootDevice (Context context, string description_path, string description_dir)
Create a new RootDevice object,
automatically loading and parsing device description document from description_path
.
- public RootDevice.full (Context context, ResourceFactory factory, XMLDoc description_doc, string description_path, string description_dir)
Create a new RootDevice, automatically
loading and parsing device description document from description_path
if description_doc
is null
.
Methods:
- public bool get_available ()
Get whether or not this is available
(announcing its presence).
- public unowned string get_description_dir ()
Get the path to the directory containing description documents related
to this.
- public unowned string get_description_path ()
Get the path to the device description document of
this.
- public unowned string get_relative_location ()
Get the relative location of this.
- public unowned ResourceGroup get_ssdp_resource_group ()
Get the ResourceGroup used by
this.
- public void set_available (bool available)
Controls whether or not this is
available (announcing its presence).
Inherited Members:
All known members inherited from class GUPnP.Device
All known members inherited from class GUPnP.DeviceInfo
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref