Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 98944 invoked from network); 12 Jul 2006 13:01:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jul 2006 13:01:12 -0000 Received: (qmail 24621 invoked by uid 500); 12 Jul 2006 13:01:06 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 24552 invoked by uid 500); 12 Jul 2006 13:01:06 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 24540 invoked by uid 99); 12 Jul 2006 13:01:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2006 06:01:06 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [82.130.70.13] (HELO xsmtp1.ethz.ch) (82.130.70.13) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2006 06:01:04 -0700 Received: from xfe0.d.ethz.ch ([82.130.124.40]) by xsmtp1.ethz.ch with Microsoft SMTPSVC(6.0.3790.2499); Wed, 12 Jul 2006 15:00:42 +0200 Received: from [172.30.83.156] ([129.132.210.160]) by xfe0.d.ethz.ch over TLS secured channel with Microsoft SMTPSVC(6.0.3790.2499); Wed, 12 Jul 2006 15:00:42 +0200 Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: <779B7A3C-DA76-4EC8-8971-B0BBBC52FF17@student.ethz.ch> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: Jakarta Commons Users List From: Marcus Deluigi Subject: Javaflow: Reference to the Runnable? Date: Wed, 12 Jul 2006 15:00:41 +0200 X-Mailer: Apple Mail (2.752.2) X-OriginalArrivalTime: 12 Jul 2006 13:00:42.0921 (UTC) FILETIME=[2EC7C190:01C6A5B3] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi there! I am using javaflow. What I want to do is the following: Call Continuation.suspend() from within a thread. Transfer the Continuation object over the network call Continuation.continueWith(..) _but_: in order to let the thread work properly at another place within the network, I want to update a few references within the thread and to the thread (for the thread communication). Is it possible to get access to the 'runnable object' within the continuation object? I am searching for something like: Continuation.getRunnable();Runnable which is null if there is nothing assigned. Is something like this possible? If not, will it be implemented? I don't know if it is possible, to alter the continuation object, _before_ it has been continued with Continuation.continueWith( ..), but I think it should be possible to alter it after it has been continued. I think, the method could return null or throw an exception if it is called without a running thread. Greetings, Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org