Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 48990 invoked from network); 10 Apr 2011 15:14:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Apr 2011 15:14:50 -0000 Received: (qmail 23417 invoked by uid 500); 10 Apr 2011 15:14:49 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 23322 invoked by uid 500); 10 Apr 2011 15:14:49 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 23314 invoked by uid 99); 10 Apr 2011 15:14:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Apr 2011 15:14:48 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jocke29@gmail.com designates 209.85.210.171 as permitted sender) Received: from [209.85.210.171] (HELO mail-iy0-f171.google.com) (209.85.210.171) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Apr 2011 15:14:42 +0000 Received: by iyi20 with SMTP id 20so5386055iyi.30 for ; Sun, 10 Apr 2011 08:14:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:date:message-id:subject :from:to:content-type; bh=PTi2kTsgodDIja8ZARrU/5apu3vzRX3qcj6FVq6VlOA=; b=sJZrClPZYsESXgVsd06v2PiKmkXGmPgy8pnNxaYkp4Wle2AGaLUPO0Dvv8bCAubUqb Qis96x0Ujwozr0/efV9B7UdQbTpoAASeldzqXNAX3mtmd6PBKH4h8btf6lyIxefj3hg/ zkM3eUbuDEl+YnMEGlBajsU8H4lI/6V0M/oWw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; b=Awd6kSilvPplsOP20cGWph+BvuNh5u42W7m1P/1n9P0YCB3BUp1j2acx+YVM71Snwt FJ5QtJjOEQhCliL9w8br8AKO2jbQEEDiyKXuBviuZcMtcGxbVTFEWTFaRgVX4dqs39d9 b0hUwdr+uXKR0P4n7nKpzF3ame7KVb2Cooh7M= MIME-Version: 1.0 Received: by 10.42.156.199 with SMTP id a7mr6412588icx.417.1302448461965; Sun, 10 Apr 2011 08:14:21 -0700 (PDT) Received: by 10.42.175.194 with HTTP; Sun, 10 Apr 2011 08:14:21 -0700 (PDT) Reply-To: joakim.eriksson@albatross.com Date: Sun, 10 Apr 2011 17:14:21 +0200 Message-ID: Subject: [SCXML] Count event support From: jocke eriksson To: Commons Users List Content-Type: text/plain; charset=ISO-8859-1 Hello SCXML users. I'm the project owner of freeswitch-scxml at google code. I have been waning to add a feature and I'm not quite sure how to implement it. I want to be able to add a count object, when evaluated in a transition, it should return the number of times that event has happened in a state. ex The problem I have is that when the guarded block is evaluated I have no way to find out in which transition it currently is located in. Is my only option to override SCXMLSemanticsImpl#filterTransitionsSet and set the current transition in the context before evaluation. Regards Jocke Eriksson --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org