/[classpath]/classpath/gnu/CORBA/GIOP/cxCodeSet.java
ViewVC logotype

Diff of /classpath/gnu/CORBA/GIOP/cxCodeSet.java

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

revision 1.3 by mark, Sat Jul 2 20:32:09 2005 UTC revision 1.4 by audriusa, Fri Oct 28 13:01:51 2005 UTC
# Line 38  exception statement from your version. * Line 38  exception statement from your version. *
38    
39  package gnu.CORBA.GIOP;  package gnu.CORBA.GIOP;
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.IOR;  import gnu.CORBA.IOR;
44  import gnu.CORBA.IOR.CodeSets_profile;  import gnu.CORBA.IOR.CodeSets_profile;
45    
# Line 124  public class cxCodeSet Line 124  public class cxCodeSet
124     * Read the context from the given stream. Does not read the     * Read the context from the given stream. Does not read the
125     * code sets id.     * code sets id.
126     */     */
127    public void readContext(cdrInput input)    public void readContext(AbstractCdrInput input)
128    {    {
129      cdrInput encap = input.read_encapsulation();      AbstractCdrInput encap = input.read_encapsulation();
130    
131      char_data = encap.read_ulong();      char_data = encap.read_ulong();
132      wide_char_data = encap.read_ulong();      wide_char_data = encap.read_ulong();
# Line 145  public class cxCodeSet Line 145  public class cxCodeSet
145     * Write the context to the given stream, including the code     * Write the context to the given stream, including the code
146     * sets id.     * sets id.
147     */     */
148    public void write(cdrOutput output)    public void write(AbstractCdrOutput output)
149    {    {
150      output.write_ulong(ID);      output.write_ulong(ID);
151    
152      cdrOutput enout = output.createEncapsulation();      AbstractCdrOutput enout = output.createEncapsulation();
153    
154      enout.write_long(char_data);      enout.write_long(char_data);
155      enout.write_ulong(wide_char_data);      enout.write_ulong(wide_char_data);

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

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