DMAP.MdnsPublisher

g DMAP.MdnsPublisher DMAP.MdnsPublisher GObject.Object GObject.Object GObject.Object->DMAP.MdnsPublisher

Subclasses:None

Methods

Inherited:GObject.Object (37)
Structs:GObject.ObjectClass (5)
class new ()
  publish (name, port, type_of_service, password_required, txt_records)
  rename_at_port (port, name)
  withdraw (port)

Virtual Methods

Inherited:GObject.Object (7)
  do_name_collision (name)
  do_published (name)

Properties

None

Signals

Inherited:GObject.Object (1)
Name Short Description
name-collision  
published  

Fields

Inherited:GObject.Object (1)
Name Type Access Description
object GObject.Object r  

Class Details

class DMAP.MdnsPublisher(**kwargs)
Bases:GObject.Object
Abstract:No
Structure:DMAP.MdnsPublisherClass
classmethod new()
Return type:DMAP.MdnsPublisher
publish(name, port, type_of_service, password_required, txt_records)
Parameters:
  • name (str) –
  • port (int) –
  • type_of_service (str) –
  • password_required (bool) –
  • txt_records (str) –
Raises:

GLib.Error

Return type:

bool

rename_at_port(port, name)
Parameters:
  • port (int) –
  • name (str) –
Raises:

GLib.Error

Return type:

bool

withdraw(port)
Parameters:port (int) –
Raises:GLib.Error
Return type:bool
do_name_collision(name) virtual
Parameters:name (str) –
do_published(name) virtual
Parameters:name (str) –

Signal Details

DMAP.MdnsPublisher.signals.name_collision(mdns_publisher, object)
Signal Name:

name-collision

Flags:

RUN_LAST

Parameters:
DMAP.MdnsPublisher.signals.published(mdns_publisher, object)
Signal Name:

published

Flags:

RUN_LAST

Parameters: