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 ()
  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.MdnsBrowserServiceType) – 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.MdnsBrowserServiceType
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.MdnsBrowserService) –
do_service_removed(service) virtual
Parameters:service (DMAP.MdnsBrowserService) –

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: