/[classpath]/classpath/org/omg/CORBA/ObjectHolder.java
ViewVC logotype

Diff of /classpath/org/omg/CORBA/ObjectHolder.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by mark, Sat Jul 2 20:32:57 2005 UTC revision 1.3 by audriusa, Sun Aug 7 17:17:43 2005 UTC
# Line 39  exception statement from your version. * Line 39  exception statement from your version. *
39  package org.omg.CORBA;  package org.omg.CORBA;
40    
41  import gnu.CORBA.primitiveTypeCode;  import gnu.CORBA.primitiveTypeCode;
42    import gnu.CORBA.recordTypeCode;
43    
44  import org.omg.CORBA.portable.InputStream;  import org.omg.CORBA.portable.InputStream;
45  import org.omg.CORBA.portable.OutputStream;  import org.omg.CORBA.portable.OutputStream;
# Line 59  public final class ObjectHolder Line 60  public final class ObjectHolder
60    implements Streamable    implements Streamable
61  {  {
62    /**    /**
63     * The default type code for this holder.     * The default type code for this holder if the object type code with
64       * the zero length string as id.
65     */     */
66    private static final TypeCode t_object =    private static final recordTypeCode t_object;
67      new primitiveTypeCode(TCKind.tk_objref);  
68      static
69      {
70        t_object = new recordTypeCode(TCKind.tk_objref);
71        t_object.setId("");
72      }
73    
74    /**    /**
75     * The <code>org.omg.CORBA.Object</code> (CORBA <code>Object</code>) value,     * The <code>org.omg.CORBA.Object</code> (CORBA <code>Object</code>) value,
# Line 109  public final class ObjectHolder Line 116  public final class ObjectHolder
116     */     */
117    public TypeCode _type()    public TypeCode _type()
118    {    {
119      return t_object;      return ObjectHelper.type();
120    }    }
121    
122    /**    /**
# Line 124  public final class ObjectHolder Line 131  public final class ObjectHolder
131    {    {
132      output.write_Object(value);      output.write_Object(value);
133    }    }
134  }  }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26