ResourceGroup
Object Hierarchy:
Description:
Namespace: GSSDP
Package: gssdp-1.0
Content:
Properties:
- public bool available { get; set; }
Whether this group of resources is available or not.
- public Client client { get; construct; }
The Client to use.
- 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:
- public ResourceGroup (Client client)
Methods:
- public uint add_resource (string target, string usn, List<string> locations)
Adds a resource with target
target
, USNusn
, and locationslocations
to this. - public uint add_resource_simple (string target, string usn, string location)
Adds a resource with target
target
, USNusn
, and locationlocation
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