KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > gcc > org > omg > GIOP > VersionHolder


1 package gcc.org.omg.GIOP;
2
3 /**
4 * gcc/org/omg/GIOP/VersionHolder.java .
5 * Generated by the IDL-to-Java compiler (portable), version "3.1"
6 * from ../idl/GIOP.idl
7 * Wednesday, December 8, 2004 11:54:39 AM EST
8 */

9
10
11 // IDL extended for version 1.1 and 1.2
12
public final class VersionHolder implements org.omg.CORBA.portable.Streamable JavaDoc
13 {
14   public gcc.org.omg.GIOP.Version value = null;
15
16   public VersionHolder ()
17   {
18   }
19
20   public VersionHolder (gcc.org.omg.GIOP.Version initialValue)
21   {
22     value = initialValue;
23   }
24
25   public void _read (org.omg.CORBA.portable.InputStream JavaDoc i)
26   {
27     value = gcc.org.omg.GIOP.VersionHelper.read (i);
28   }
29
30   public void _write (org.omg.CORBA.portable.OutputStream JavaDoc o)
31   {
32     gcc.org.omg.GIOP.VersionHelper.write (o, value);
33   }
34
35   public org.omg.CORBA.TypeCode JavaDoc _type ()
36   {
37     return gcc.org.omg.GIOP.VersionHelper.type ();
38   }
39
40 }
41
Popular Tags