/[classpath]/classpath/org/omg/CORBA_2_3/portable/InputStream.java
ViewVC logotype

Diff of /classpath/org/omg/CORBA_2_3/portable/InputStream.java

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

revision 1.3.2.3 by gnu_andrew, Tue Aug 16 16:22:39 2005 UTC revision 1.3.2.4 by gnu_andrew, Wed Nov 2 00:44:12 2005 UTC
# Line 40  package org.omg.CORBA_2_3.portable; Line 40  package org.omg.CORBA_2_3.portable;
40    
41  import gnu.CORBA.CDR.Vio;  import gnu.CORBA.CDR.Vio;
42    
43  import org.omg.CORBA.MARSHAL;  import org.omg.CORBA.CustomMarshal;
44  import org.omg.CORBA.portable.BoxedValueHelper;  import org.omg.CORBA.portable.BoxedValueHelper;
45  import org.omg.CORBA.portable.ValueFactory;  import org.omg.CORBA.portable.StreamableValue;
46    
47  import java.io.Serializable;  import java.io.Serializable;
48    
# Line 78  public abstract class InputStream Line 78  public abstract class InputStream
78     */     */
79    public Object read_abstract_interface()    public Object read_abstract_interface()
80    {    {
81      boolean isValue = read_boolean();      boolean isObject = read_boolean();
82    
83      if (isValue)      if (isObject)
       return read_value();  
     else  
84        return read_Object();        return read_Object();
85        else
86          return read_value();      
87    }    }
88    
89    /**    /**
# Line 192  public abstract class InputStream Line 192  public abstract class InputStream
192     */     */
193    public Serializable read_value(String repository_id)    public Serializable read_value(String repository_id)
194    {    {
195      ValueFactory factory =      return Vio.read(this, repository_id);
       ((org.omg.CORBA_2_3.ORB) orb()).lookup_value_factory(repository_id);  
     if (factory == null)  
       throw new MARSHAL("No factory");  
     return (Serializable) Vio.read(this, null, factory);  
196    }    }
197    
198    /**    /**

Legend:
Removed from v.1.3.2.3  
changed lines
  Added in v.1.3.2.4

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