/[classpath]/classpath/gnu/CORBA/GIOP/v1_0/ReplyHeader.java
ViewVC logotype

Diff of /classpath/gnu/CORBA/GIOP/v1_0/ReplyHeader.java

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

revision 1.1.2.2 by gnu_andrew, Tue Aug 2 20:12:08 2005 UTC revision 1.1.2.3 by gnu_andrew, Wed Nov 2 00:43:25 2005 UTC
# Line 38  exception statement from your version. * Line 38  exception statement from your version. *
38    
39  package gnu.CORBA.GIOP.v1_0;  package gnu.CORBA.GIOP.v1_0;
40    
41  import gnu.CORBA.CDR.cdrInput;  import gnu.CORBA.CDR.AbstractCdrInput;
42  import gnu.CORBA.CDR.cdrOutput;  import gnu.CORBA.CDR.AbstractCdrOutput;
43  import gnu.CORBA.GIOP.ServiceContext;  import gnu.CORBA.GIOP.ServiceContext;
44  import gnu.CORBA.GIOP.cxCodeSet;  import gnu.CORBA.GIOP.CodeSetServiceContext;
45    
46  /**  /**
47   * The header of the standard reply.   * The header of the standard reply.
# Line 98  public class ReplyHeader Line 98  public class ReplyHeader
98     * @param in a stream to read from.     * @param in a stream to read from.
99     */     */
100    
101    public void read(cdrInput in)    public void read(AbstractCdrInput in)
102    {    {
103      service_context = ServiceContext.readSequence(in);      service_context = ServiceContext.readSequence(in);
104      request_id = in.read_ulong();      request_id = in.read_ulong();
105      reply_status = in.read_ulong();      reply_status = in.read_ulong();
106    
107      in.setCodeSet(cxCodeSet.find(service_context));      in.setCodeSet(CodeSetServiceContext.find(service_context));
108    }    }
109    
110    /**    /**
# Line 128  public class ReplyHeader Line 128  public class ReplyHeader
128     *     *
129     * @param out a stream to write into.     * @param out a stream to write into.
130     */     */
131    public void write(cdrOutput out)    public void write(AbstractCdrOutput out)
132    {    {
133      ServiceContext.writeSequence(out, service_context);      ServiceContext.writeSequence(out, service_context);
134      out.write_ulong(request_id);      out.write_ulong(request_id);
135      out.write_ulong(reply_status);      out.write_ulong(reply_status);
136    
137      out.setCodeSet(cxCodeSet.find(service_context));      out.setCodeSet(CodeSetServiceContext.find(service_context));
138    }    }
139  }  }

Legend:
Removed from v.1.1.2.2  
changed lines
  Added in v.1.1.2.3

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