Multicast DNS

class kaa.net.mdns.Avahi

Simple multicast DNS service based on Avahi. This service requires avahi installed and running as service, dbus python and the gobject mainloop running. The mainloop can either run as kaa mainloop (gtk or twisted with a gtk based mainloop) or as thread using kaa.gobject_set_threaded().

Synopsis

Class Hierarchy

kaa.net.mdns.Avahi

Methods
get_type()Get a ServiceList object for the given type. e.g. get_type(‘_ssh._tcp’)
provide()Provide a service with the given name and type listening on the given port with additional information in the txt record. This function returns the id of the service to remove the service later.
remove()Remove a service.
Properties
This class has no properties.
Signals
This class has no signals.

Methods

get_type(service)

Get a ServiceList object for the given type. e.g. get_type(‘_ssh._tcp’)

provide(name, type, port, txt)

Provide a service with the given name and type listening on the given port with additional information in the txt record. This function returns the id of the service to remove the service later.

remove(id)

Remove a service.

Previous topic

TLS

Next topic

Distribution Helpers

This Page