[Bug 31135] New: Add a 'Removed' signal to Call.Content?

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 26 18:43:38 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=31135

           Summary: Add a 'Removed' signal to Call.Content?
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: tp-spec
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: jonathon at quotidian.org
         QAContact: telepathy-bugs at lists.freedesktop.org


The relationship between a Call channel and a Call.Content object is somewhat
comparable to the relationship between Connection and Channel.  

- Channels are created with a method on Connection (e.g. CreateChannel(),
etc.).  Call.Content objects are created by a method on Call (AddContent()).
- Channels are closed by a method on itself (Close()), Call.Content objects are
removed by a method on itself (Remove())
- Changes in the existing Channel objects are communicated by signals on the
Connection Object (NewChannels, ChannelClosed).  Changes in Call.Content
objects are communicated with signals on the Call object (ContentAdded,
ContentRemoved)

The one difference between this analogy is that the Channel object itself also
has a 'Closed' signal, but the Call.Content object does not have a 'Removed'
signal.  If this were added, I think it would improve the API consistency.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list