KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)OctetSeqHolder.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>OctetSeq</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/OctetSeqHolder.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 OctetSeqHolder implements org.omg.CORBA.portable.Streamable JavaDoc
21 {
22     public byte value[] = null;
23
24     public OctetSeqHolder ()
25     {
26     }
27
28     public OctetSeqHolder (byte[] initialValue)
29     {
30     value = initialValue;
31     }
32
33     public void _read (org.omg.CORBA.portable.InputStream JavaDoc i)
34     {
35     value = org.omg.CORBA.OctetSeqHelper.read (i);
36     }
37
38     public void _write (org.omg.CORBA.portable.OutputStream JavaDoc o)
39     {
40     org.omg.CORBA.OctetSeqHelper.write (o, value);
41     }
42
43     public org.omg.CORBA.TypeCode JavaDoc _type ()
44     {
45     return org.omg.CORBA.OctetSeqHelper.type ();
46     }
47
48 }
49
Popular Tags