equal
deleted
inserted
replaced
1 // Tags: not-a-test |
|
2 // Copyright (C) 2005 Audrius Meskauskas (AudriusA@Bioinformatics.org) |
|
3 |
|
4 // Mauve is free software; you can redistribute it and/or modify |
|
5 // it under the terms of the GNU General Public License as published by |
|
6 // the Free Software Foundation; either version 2, or (at your option) |
|
7 // any later version. |
|
8 |
|
9 // Mauve is distributed in the hope that it will be useful, |
|
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 // GNU General Public License for more details. |
|
13 |
|
14 // You should have received a copy of the GNU General Public License |
|
15 // along with Mauve; see the file COPYING. If not, write to |
|
16 // the Free Software Foundation, 59 Temple Place - Suite 330, |
|
17 // Boston, MA 02111-1307, USA. */ |
|
18 |
|
19 |
|
20 package gnu.testlet.org.omg.CORBA.ORB.Asynchron; |
|
21 |
|
22 /** |
|
23 * The parallel submission handler implementation (server side). |
|
24 * |
|
25 * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) |
|
26 */ |
|
27 class assServant |
|
28 extends _asyncImplBase |
|
29 { |
|
30 public int sleep_and_return(int duration) |
|
31 { |
|
32 try |
|
33 { |
|
34 Thread.sleep(duration); |
|
35 } |
|
36 catch (InterruptedException ex) |
|
37 { |
|
38 } |
|
39 return duration; |
|
40 } |
|
41 } |
|