class ExportableInterface(object): pass class ExporterInterface(object): def export(self, method, in_signature, out_signature): # to be overridden by concrete implementation raise NotImplementedError() def signal(self, method, out_signature): # to be overridden by concrete implementation raise NotImplementedError() def send_signal(self, signal, *args, **kwargs): # to be overridden by concrete implementation raise NotImplementedError() def start(self): raise NotImplementedError() def stop(self): raise NotImplementedError() def period_check(self): pass
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
__init__.py | File | 1.86 KB | 0644 |
|
controller.py | File | 3.46 KB | 0644 |
|
dbus_exporter.py | File | 7.58 KB | 0644 |
|
dbus_exporter_with_properties.py | File | 3.04 KB | 0644 |
|
interfaces.py | File | 588 B | 0644 |
|
unix_socket_exporter.py | File | 7.69 KB | 0644 |
|