From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6042 invoked by alias); 15 Jun 2007 19:44:25 -0000 Received: (qmail 6034 invoked by uid 22791); 15 Jun 2007 19:44:24 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DK_POLICY_SIGNSOME,FORGED_RCVD_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 15 Jun 2007 19:44:22 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l5FJiKb4003871 for ; Fri, 15 Jun 2007 15:44:20 -0400 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l5FJiJIr007765 for ; Fri, 15 Jun 2007 15:44:19 -0400 Received: from localhost.localdomain (vpn-14-221.rdu.redhat.com [10.11.14.221]) by pobox.toronto.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id l5FJiIiC006901 for ; Fri, 15 Jun 2007 15:44:19 -0400 Message-ID: <4672EC0B.9050203@redhat.com> Date: Fri, 15 Jun 2007 21:01:00 -0000 From: Adam Jocksch User-Agent: Thunderbird 2.0.0.0 (X11/20070419) MIME-Version: 1.0 To: frysk Subject: New observer interface for SteppingEngine Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2007-q2/txt/msg00302.txt.bz2 After some discussion with Tim and Mike, it's been generally agreed that the interface for observing the stepping engine needs to be improved beyond what's offered by the default Java Observer/Observable interface. Looking at SteppingEngine.SteppingObserver, it looks like we need the following methods: - updateTaskStopped(Task) - updateNotStopped() <-- probably taking a task as a parameter? (or maybe a list of tasks) - any others? A few aspects of the current functionality are a little unclear to me at the moment, for example when notifyStopped() should be called and not notifyTask(Task). Thoughts? Adam