#4757 NORM Never A: PS Activity objects: replace GetChannels() with something more useful

Zarro Boogs per Child bugtracker at laptop.org
Thu Nov 8 10:44:15 EST 2007


#4757: PS Activity objects: replace GetChannels() with something more useful
------------------------------+---------------------------------------------
 Reporter:  smcv              |       Owner:  smcv          
     Type:  enhancement       |      Status:  new           
 Priority:  normal            |   Milestone:  Never Assigned
Component:  presence-service  |     Version:                
 Keywords:                    |    Verified:  0             
------------------------------+---------------------------------------------
 The code added in #4503 really wants to get the type, handle type and
 handle for each channel, without additional round trips. The
 ListChannels() method in Telepathy returns this information, but
 GetChannels() in the PS doesn't.

 We should add a method (perhaps call it ListChannels() too?) that returns
 the connection object path, and an array of structs containing channel
 object paths, types, handle types and handles. The service name isn't
 strictly necessary, since Telepathy guarantees that you can derive it from
 the connection object path, but perhaps we should include that too for
 clarity.

 Once this is implemented, we can remove numerous round trips in
 sugar.presence.

-- 
Ticket URL: <http://dev.laptop.org/ticket/4757>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list