0d93cbaf66f7573be139a00a12ad97a6c478c6eb
[gcc.git] /
1
2
3 package gnu.classpath.examples.CORBA.SimpleCommunication.communication;
4
5 import org.omg.CORBA.portable.InputStream;
6 import org.omg.CORBA.portable.OutputStream;
7 import org.omg.CORBA.portable.Streamable;
8
9 public final class passThisHolder
10 implements Streamable
11 {
12 public passThis value;
13
14 public passThisHolder()
15 {
16 }
17
18 public passThisHolder(passThis initialValue)
19 {
20 value = initialValue;
21 }
22
23 public void _read(InputStream i)
24 {
25 value = passThisHelper.read(i);
26 }
27
28 public org.omg.CORBA.TypeCode _type()
29 {
30 return passThisHelper.type();
31 }
32
33 public void _write(OutputStream o)
34 {
35 passThisHelper.write(o, value);
36 }
37 }