[Bug 38790] New: Simplify Stream State machine

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 30 04:36:22 CEST 2011


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

           Summary: Simplify Stream State machine
           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: david.laban at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org
                CC: olivier.crete at ocrete.ca, david.laban at collabora.co.uk


The state machine for Streams is stupidly complicated, because you have to care
about state change reasons and call a different method depending on what state
you've been asked to go into.

http://www.flickr.com/photos/26028700@N07/5885385136/ is simpler, where:
CM-requested changes are emitted in one signal (with no reason);
Successful state changes are reported in one method;
Failures are reported in another (with a reason that needs no interpreting by
the CM);

-- 
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