[Bugs] #1680 UNSP: sugar-base: add sugar.dispatch.DbusSignal

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sun Jan 24 14:29:31 EST 2010


#1680: sugar-base: add sugar.dispatch.DbusSignal
------------------------------------------+---------------------------------
    Reporter:  sascha_silbe               |          Owner:  sascha_silbe     
        Type:  enhancement                |         Status:  new              
    Priority:  Unspecified by Maintainer  |      Milestone:  0.88             
   Component:  sugar                      |        Version:  Git as of bugdate
    Severity:  Unspecified                |       Keywords:  r?               
Distribution:  Unspecified                |   Status_field:  Assigned         
------------------------------------------+---------------------------------
 This patch adds the classes sugar.dispatch.RelayedSignal and
 sugar.dispatch.DbusSignal.

 RelayedSignal is a base class for distributing signals from some external
 sources. The external source will usually only be attached if there are
 actually (internal) listeners to prevent unnecessary overhead.

 DbusSignal (deriving from RelayedSignal) relays DBus signals which can be
 passed either via full name specification (looked up and connected to only
 on demand) or as an interface instance (in case the caller already got
 one).

 It is intended to provide data store listeners in
 sugar.datastore.datastore that only listen to the DBus signals if there's
 actually someone listening for it, thus reducing overhead.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/1680>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list