/[classpath]/classpath/org/omg/IOP/TaggedProfileHelper.java
ViewVC logotype

Diff of /classpath/org/omg/IOP/TaggedProfileHelper.java

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

revision 1.5 by audriusa, Wed Oct 5 16:25:42 2005 UTC revision 1.6 by audriusa, Fri Oct 28 13:01:52 2005 UTC
# Line 39  exception statement from your version. * Line 39  exception statement from your version. *
39  package org.omg.IOP;  package org.omg.IOP;
40    
41  import gnu.CORBA.Minor;  import gnu.CORBA.Minor;
42  import gnu.CORBA.CDR.cdrBufInput;  import gnu.CORBA.CDR.BufferredCdrInput;
43  import gnu.CORBA.CDR.cdrBufOutput;  import gnu.CORBA.CDR.BufferedCdrOutput;
44    
45  import org.omg.CORBA.Any;  import org.omg.CORBA.Any;
46  import org.omg.CORBA.BAD_OPERATION;  import org.omg.CORBA.BAD_OPERATION;
# Line 145  public abstract class TaggedProfileHelpe Line 145  public abstract class TaggedProfileHelpe
145      TaggedProfile value = new TaggedProfile();      TaggedProfile value = new TaggedProfile();
146      value.tag = input.read_long();      value.tag = input.read_long();
147    
148      if (input instanceof cdrBufInput)      if (input instanceof BufferredCdrInput)
149        {        {
150          // Highly probable.          // Highly probable.
151          value.profile_data = ((cdrBufInput) input).read_sequence();          value.profile_data = ((BufferredCdrInput) input).read_sequence();
152        }        }
153      else      else
154        {        {
# Line 169  public abstract class TaggedProfileHelpe Line 169  public abstract class TaggedProfileHelpe
169    {    {
170      output.write_long(value.tag);      output.write_long(value.tag);
171    
172      if (output instanceof cdrBufOutput)      if (output instanceof BufferedCdrOutput)
173        {        {
174          // Highly probable.          // Highly probable.
175          output.write_long(value.profile_data.length);          output.write_long(value.profile_data.length);

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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