ResourceGroup
Object Hierarchy:
Description:
[ CCode ( type_id = "gssdp_resource_group_get_type ()" ) ]
public class ResourceGroup : Object
Content:
Properties:
- public bool available { get; set; }
Whether this group of resources is available or not.
- public Client client { get; construct; }
- public uint max_age { get; set; }
The number of seconds our advertisements are valid.
- public uint message_delay { get; set; }
The minimum number of milliseconds between SSDP messages.
Creation methods:
Methods:
- public uint add_resource (string target, string usn, List<string> locations)
Adds a resource with target target
, USN usn
,
and locations locations
to this.
- public uint add_resource_simple (string target, string usn, string location)
Adds a resource with target target
, USN usn
,
and location location
to this.
- public bool get_available ()
- public unowned Client get_client ()
- public uint get_max_age ()
- public uint get_message_delay ()
- public void remove_resource (uint resource_id)
Removes the resource with ID resource_id
from
this.
- public void set_available (bool available)
Sets thiss availability to
available
.
- public void set_max_age (uint max_age)
Sets the number of seconds advertisements are valid to max_age
.
- public void set_message_delay (uint message_delay)
Sets the minimum time between each SSDP message.
Inherited Members:
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