/mandos/release

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

« back to all changes in this revision

Viewing changes to DBUS-API

* mandos-monitor: Speedup: Use properties from D-Bus
                  GetAllClientsWithProperties() call.  Also use
                  super() properly - only use keyword arguments and
                  strip them off as "kwargs" is passed on.
  (MandosClientPropertyCache.__init__): Take new "properties"
                                        argument; use it to skip
                                        calling D-Bus GetAll() method.
                                        Call super().  Bind self._
  (MandosClientPropertyCache._property_changed): New helper function.
  (MandosClientPropertyCache.property_changed): Changed to take
                                                keyword arguments.
  (MandosClientPropertyCache.delete): Bug fix: Don't call
                                      super().__init__().
  (MandosClientWidget.__init__): Don't take *args.  Strip used keyword
                                 arguments before calling super().
  (MandosClientWidget.property_changed): Removed dead code.
  (MandosClientWidget.delete): Don't take *args.
  (MandosClientWidget.property_changed): Don't take "value" argument,
                                         since it is not used.
  (ConstrainedListBox.keypress): Take *args, **kwargs and pass them on
                                 to super().

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
   k) A raw byte array, not hexadecimal digits.
135
135
 
136
136
** Signals
137
 
*** CheckerCompleted(n: Exitcode, x: Signal, s: Command)
 
137
*** CheckerCompleted(n: Exitcode, x: Waitstatus, s: Command)
138
138
    A checker (Command) has completed.  Exitcode is either the exit
139
 
    code or -1 for abnormal exit, in which case, the signal number
140
 
    is available.
 
139
    code or -1 for abnormal exit.  In any case, the full Waitstatus
 
140
    (as from wait(2)) is also available.
141
141
    
142
142
*** CheckerStarted(s: Command)
143
143
    A checker command (Command) has just been started.
150
150
    milliseconds, depending on ApprovedByDefault.  Approve() can now
151
151
    usefully be called on this client object.
152
152
    
 
153
*** PropertyChanged(s: Property, v: Value)
 
154
    The Property on this client has changed to Value.
 
155
    
153
156
*** Rejected(s: Reason)
154
157
    This client was not given its secret for a specified Reason.
155
158
 
156
159
* Copyright
157
160
 
158
 
    Copyright © 2010-2015 Teddy Hogeborn
159
 
    Copyright © 2010-2015 Björn Påhlsson
 
161
    Copyright © 2010-2012 Teddy Hogeborn
 
162
    Copyright © 2010-2012 Björn Påhlsson
160
163
  
161
164
** License:
162
165