W3C home > Mailing lists > Public > public-ws-chor-comments@w3.org > April 2006

[Bug 3109] hasExchangeOccurred

From: <bugzilla@wiggum.w3.org>
Date: Tue, 11 Apr 2006 13:33:03 +0000
To: public-ws-chor-comments@w3.org
Message-Id: <E1FTIzP-0004K0-Pm@wiggum.w3.org>


           Summary: hasExchangeOccurred
           Product: WS Choreography
           Version: unspecified
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Uncategorized
        AssignedTo: martin.chapman@oracle.com
        ReportedBy: martin.chapman@oracle.com
         QAContact: public-ws-chor-comments@w3.org

Implementation issue from Gary:

. Example: request for quote, while waiting for suitable quote (on refresh
until quote accepted

  – Interaction: --> request for quote
     Interaction: <-- quote  
     workunit guard=”hasDurationPassed(30sec)” block=”true”
                   repeat=“!quoteAccepted” {
           Interaction <-- updateQuote
      }Interaction: --> quote accepted

. Currently only possible with parallel construct setting state variable to
when quote is acceptable, as quote provider as no means to detect when quote
has been accepted, and therefore break out of the loop

. Suggestion: having a 'hasExchangeOccurred' to finish the loop once the quote
accept has been received

Send rfq                            Receive rfq
Receive quote                       Send quote
Parallel{                           Parallel{
    when quoteAcc                       when .....
        Send quoteAcc                     Receive quoteAcc
        [rec quoteAcced]                  [rec quoteAcced]
    when refresh &&                     when refresh &&
          !quoteAcced ..                   !quoteAcced
}                                   }
Received on Tuesday, 11 April 2006 13:33:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:46:25 UTC