Class

RebonjourServiceDescription

Description

final class Rebonjour.ServiceDescription : GObject.Object
{
  /* No available fields */
}

Description of a local service to advertise.

A service description stores the D-Bus registration identifier, advertised service name, DNS-SD type, port, SRV metadata, and TXT records.

Hierarchy

hierarchy this RebonjourServiceDescription ancestor_0 GObject ancestor_0--this

Ancestors

Constructors

rebonjour_service_description_new

Creates a service description for registration.

Instance methods

rebonjour_service_description_get_id

Gets the stable registration identifier.

rebonjour_service_description_get_name_template

Gets the advertised service name template.

rebonjour_service_description_get_port

Gets the advertised service port.

rebonjour_service_description_get_type_name

Gets the DNS-SD service type.

rebonjour_service_description_set_priority

Sets the SRV priority used when registering the service.

rebonjour_service_description_set_txt

Sets a TXT record value.

rebonjour_service_description_set_weight

Sets the SRV weight used when registering the service.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Rebonjour.ServiceDescription:id

The stable registration identifier.

Rebonjour.ServiceDescription:name-template

The advertised service name template.

Rebonjour.ServiceDescription:port

The advertised service port.

Rebonjour.ServiceDescription:type

The DNS-SD service type.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct RebonjourServiceDescriptionClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.