KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)UShortSeqHolder.java 1.11 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 /**
11 * The Holder for <tt>UShortSeq</tt>. For more information on
12 * Holder files, see <a HREF="doc-files/generatedfiles.html#holder">
13 * "Generated Files: Holder Files"</a>.<P>
14 * org/omg/CORBA/UShortSeqHolder.java
15 * Generated by the IDL-to-Java compiler (portable), version "3.0"
16 * from streams.idl
17 * 13 May 1999 22:41:36 o'clock GMT+00:00
18 */

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