/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

First steps of a D-Bus interface to the server.

* mandos: Also import "dbus.service".
  (Client): Inherit from "dbus.service.Object", which is a new-style
            class, so inheriting from "object" is no longer necessary.
  (Client.interface): New temporary variable which only exists during
                     class definition.

  (Client.getName, Client.getFingerprint): New D-Bus getter methods.
  (Client.setSecret): New D-Bus setter method.
  (Client._set_timeout): Emit D-Bus signal "TimeoutChanged".
  (Client.getTimeout): New D-Bus getter method.
  (Client.TimeoutChanged): New D-Bus signal.
  (Client._set_interval): Emit D-Bus signal "IntervalChanged".
  (Client.getInterval): New D-Bus getter method.
  (Client.intervalChanged): New D-Bus signal.
  (Client.__init__): Also call "dbus.service.Object.__init__".
  (Client.started): New boolean attribute.
  (Client.start, Client.stop): Update "self.started", and emit D-Bus
                               signal "StateChanged".
  (Client.StateChanged): New D-Bus signal.
  (Client.stop): Use "self.started" instead of misusing "self.secret".
                 Also simplify code by using "getattr" instead of
                 "hasattr".
  (Client.checker_callback): Emit D-Bus signal "CheckerCompleted".
  (Client.CheckerCompleted): New D-Bus signal.
  (Client.bumpTimeout): D-Bus method name for "bump_timeout".
  (Client.start_checker): Emit D-Bus signal "CheckerStarted".
  (Client.CheckerStarted): New D-Bus signal.
  (Client.checkerIsRunning): New D-Bus method.
  (Client.StopChecker): D-Bus method name for "stop_checker".
  (Client.still_valid): First check "self.started".
  (Client.stillValid): D-Bus method name for "still_valid".
Filename Latest Rev Last Changed Committer Comment Size
..
askpass-fifo.c 214 15 years ago Teddy Hogeborn * Makefile (PLUGINS): Added "plugins.d/askpass-fif 1.9 KB Diff Download File
askpass-fifo.xml 226 15 years ago Teddy Hogeborn * Makefile (DOCS): Added "plugins.d/askpass-fifo.8 4.8 KB Diff Download File
mandos-client.c 217 15 years ago Teddy Hogeborn * .bzrignore: Added "man" directory (created by "m 29.7 KB Diff Download File
mandos-client.xml 224 15 years ago Teddy Hogeborn * mandos-keygen.xml (FILES): Fixed id to be "files 18.7 KB Diff Download File
password-prompt.c 217 15 years ago Teddy Hogeborn * .bzrignore: Added "man" directory (created by "m 7.1 KB Diff Download File
password-prompt.xml 224 15 years ago Teddy Hogeborn * mandos-keygen.xml (FILES): Fixed id to be "files 9.3 KB Diff Download File
splashy.c 223 15 years ago Teddy Hogeborn * .bzrignore (plugins.d/askpass-fifo): Added. * M 6.7 KB Diff Download File
splashy.xml 225 15 years ago Teddy Hogeborn * Makefile (DOCS): Added "plugins.d/usplash.8mando 10.1 KB Diff Download File
usplash.c 223 15 years ago Teddy Hogeborn * .bzrignore (plugins.d/askpass-fifo): Added. * M 12 KB Diff Download File
usplash.xml 225 15 years ago Teddy Hogeborn * Makefile (DOCS): Added "plugins.d/usplash.8mando 10.6 KB Diff Download File