1 // Copyright (c) 2000, 2001 NEC Corporation. |
|
2 |
|
3 // Adapted for Mauve by Audrius Meskauskas <audriusa@bluewin.ch> |
|
4 |
|
5 // This file is part of Mauve. |
|
6 |
|
7 // Mauve is free software; you can redistribute it and/or modify |
|
8 // it under the terms of the GNU General Public License as published by |
|
9 // the Free Software Foundation; either version 2, or (at your option) |
|
10 // any later version. |
|
11 |
|
12 // Mauve is distributed in the hope that it will be useful, |
|
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
15 // GNU General Public License for more details. |
|
16 |
|
17 // You should have received a copy of the GNU General Public License |
|
18 // along with Mauve; see the file COPYING. If not, write to |
|
19 // the Free Software Foundation, 59 Temple Place - Suite 330, |
|
20 // Boston, MA 02111-1307, USA. |
|
21 |
|
22 /* |
|
23 This code originally came from the OMG's CORBA Open Source Testing project, |
|
24 which lived at cost.omg.org. That site no longer exists. |
|
25 |
|
26 All the contributing companies agreed to release their tests under the |
|
27 terms of the GNU Lesser General Public License, available in the file |
|
28 COPYING.LIB. |
|
29 |
|
30 The code has been modified integrating into Mauve test environment and |
|
31 removing tests that are not yet supported by Suns jre 1.4. Hence the license |
|
32 is now GPL. |
|
33 |
|
34 We downloaded the code from http://sourceforge.net/projects/corba-cost/, |
|
35 administrated by Duncan Grisby. |
|
36 */ |
|
37 |
|
38 package gnu.testlet.org.omg.CORBA.ORB.RF11; |
|
39 |
|
40 public final class C_array_e_anyHolder implements org.omg.CORBA.portable.Streamable |
|
41 { |
|
42 public org.omg.CORBA.Any value[] = null; |
|
43 |
|
44 public C_array_e_anyHolder () |
|
45 { |
|
46 } |
|
47 |
|
48 public C_array_e_anyHolder (org.omg.CORBA.Any[] initialValue) |
|
49 { |
|
50 value = initialValue; |
|
51 } |
|
52 |
|
53 public void _read (org.omg.CORBA.portable.InputStream i) |
|
54 { |
|
55 value = C_array_e_anyHelper.read (i); |
|
56 } |
|
57 |
|
58 public void _write (org.omg.CORBA.portable.OutputStream o) |
|
59 { |
|
60 C_array_e_anyHelper.write (o, value); |
|
61 } |
|
62 |
|
63 public org.omg.CORBA.TypeCode _type () |
|
64 { |
|
65 return C_array_e_anyHelper.type (); |
|
66 } |
|
67 |
|
68 } |
|