KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > CORBA > CurrentHolder


1 /*
2  * @(#)CurrentHolder.java 1.9 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7 package org.omg.CORBA;
8
9 /**
10 * The Holder for <tt>Current</tt>. For more information on
11 * Holder files, see <a HREF="doc-files/generatedfiles.html#holder">
12 * "Generated Files: Holder Files"</a>.<P>
13 * org/omg/CORBA/CurrentHolder.java
14 * Generated by the IDL-to-Java compiler (portable), version "3.0"
15 * from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
16 * Saturday, July 17, 1999 12:26:21 AM PDT
17 */

18
19 public final class CurrentHolder implements org.omg.CORBA.portable.Streamable JavaDoc
20 {
21   public org.omg.CORBA.Current JavaDoc value = null;
22
23   public CurrentHolder ()
24   {
25   }
26
27   public CurrentHolder (org.omg.CORBA.Current JavaDoc initialValue)
28   {
29     value = initialValue;
30   }
31
32   public void _read (org.omg.CORBA.portable.InputStream JavaDoc i)
33   {
34     value = org.omg.CORBA.CurrentHelper.read (i);
35   }
36
37   public void _write (org.omg.CORBA.portable.OutputStream JavaDoc o)
38   {
39     org.omg.CORBA.CurrentHelper.write (o, value);
40   }
41
42   public org.omg.CORBA.TypeCode JavaDoc _type ()
43   {
44     return org.omg.CORBA.CurrentHelper.type ();
45   }
46
47 }
48
Popular Tags