Dmap.MdnsBrowser

g Dmap.MdnsBrowser Dmap.MdnsBrowser GObject.Object GObject.Object GObject.Object->Dmap.MdnsBrowser

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (type)

get_service_type ()

get_services ()

start ()

stop ()

Virtual Methods

Inherited:

GObject.Object (7)

do_service_added (service)

do_service_removed (service)

Properties

None

Signals

Inherited:

GObject.Object (1)

Name

Short Description

service-added

Emitted each time a service becomes available to browser

service-removed

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

object

GObject.Object

r

Class Details

class Dmap.MdnsBrowser(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Dmap.MdnsBrowserClass

classmethod new(type)
Parameters:

type (Dmap.MdnsServiceType) – The type of service to browse.

Returns:

a pointer to a Dmap.MdnsBrowser.

Return type:

Dmap.MdnsBrowser

Creates a new mDNS browser.

get_service_type()
Return type:

Dmap.MdnsServiceType

get_services()
Returns:

services available to self.

Return type:

[Dmap.MdnsService]

start()
Raises:

GLib.Error

Returns:

True on success, else False.

Return type:

bool

Starts a Dmap.MdnsBrowser.

stop()
Raises:

GLib.Error

Returns:

True on success, else False.

Return type:

bool

Stops a Dmap.MdnsBrowser.

do_service_added(service) virtual
Parameters:

service (Dmap.MdnsService) –

do_service_removed(service) virtual
Parameters:

service (Dmap.MdnsService) –

Signal Details

Dmap.MdnsBrowser.signals.service_added(mdns_browser, service)
Signal Name:

service-added

Flags:

RUN_LAST

Parameters:

Emitted each time a service becomes available to browser

Dmap.MdnsBrowser.signals.service_removed(mdns_browser, object)
Signal Name:

service-removed

Flags:

RUN_LAST

Parameters: