|
gstlal 1.13.0
|
Public Member Functions | |
| __enter__ (self) | |
| add_service (self, sname, port, stype=None, sdomain=None, host=None, properties=None, commit=True) | |
| commit (self) | |
| __exit__ (self, exc_type, exc_value, traceback) | |
Public Attributes | |
| group = Gio.DBusProxy.new_sync(bus, Gio.DBusProxyFlags.NONE, None, avahi.DBUS_NAME, group_path, avahi.DBUS_INTERFACE_ENTRY_GROUP, None) | |
Glue code to connect to the avahi daemon through dbus and manage the advertisement of services.
Definition at line 143 of file servicediscovery.py.
| python.servicediscovery.Publisher.__enter__ | ( | self | ) |
Definition at line 148 of file servicediscovery.py.
| python.servicediscovery.Publisher.__exit__ | ( | self, | |
| exc_type, | |||
| exc_value, | |||
| traceback ) |
Unpublish all services.
Definition at line 172 of file servicediscovery.py.
| python.servicediscovery.Publisher.add_service | ( | self, | |
| sname, | |||
| port, | |||
| stype = None, | |||
| sdomain = None, | |||
| host = None, | |||
| properties = None, | |||
| commit = True ) |
See the Service class for the meaning of the arguments. If commit is True (the default), then the new service is advertised immediately along with all other previously unadvertised services; otherwise the calling code is responsible for calling the .commit() method itself.
Definition at line 155 of file servicediscovery.py.
| python.servicediscovery.Publisher.commit | ( | self | ) |
Definition at line 169 of file servicediscovery.py.
| python.servicediscovery.Publisher.group = Gio.DBusProxy.new_sync(bus, Gio.DBusProxyFlags.NONE, None, avahi.DBUS_NAME, group_path, avahi.DBUS_INTERFACE_ENTRY_GROUP, None) |
Definition at line 152 of file servicediscovery.py.