1   package org.activeio.oneport;
2   
3   /***
4    * Holder class for : TestIIOPServer
5    * 
6    * @author OpenORB Compiler
7    */
8   final public class TestIIOPServerHolder
9           implements org.omg.CORBA.portable.Streamable
10  {
11      /***
12       * Internal TestIIOPServer value
13       */
14      public org.activeio.oneport.TestIIOPServer value;
15  
16      /***
17       * Default constructor
18       */
19      public TestIIOPServerHolder()
20      { }
21  
22      /***
23       * Constructor with value initialisation
24       * @param initial the initial value
25       */
26      public TestIIOPServerHolder(org.activeio.oneport.TestIIOPServer initial)
27      {
28          value = initial;
29      }
30  
31      /***
32       * Read TestIIOPServer from a marshalled stream
33       * @param istream the input stream
34       */
35      public void _read(org.omg.CORBA.portable.InputStream istream)
36      {
37          value = TestIIOPServerHelper.read(istream);
38      }
39  
40      /***
41       * Write TestIIOPServer into a marshalled stream
42       * @param ostream the output stream
43       */
44      public void _write(org.omg.CORBA.portable.OutputStream ostream)
45      {
46          TestIIOPServerHelper.write(ostream,value);
47      }
48  
49      /***
50       * Return the TestIIOPServer TypeCode
51       * @return a TypeCode
52       */
53      public org.omg.CORBA.TypeCode _type()
54      {
55          return TestIIOPServerHelper.type();
56      }
57  
58  }