[BACK]Return to CMO.java CVS log [TXT][DIR] Up to [local] / OpenXM / src / OpenMath / ORG / openxm / tam

Diff for /OpenXM/src/OpenMath/ORG/openxm/tam/CMO.java between version 1.1 and 1.2

version 1.1, 2000/09/09 11:54:08 version 1.2, 2000/09/13 06:32:42
Line 1 
Line 1 
 /**  /**
  * $OpenXM$   * $OpenXM: OpenXM/src/OpenMath/ORG/openxm/tam/CMO.java,v 1.1 2000/09/09 11:54:08 tam Exp $
  */   */
 package ORG.openxm.tam;  package ORG.openxm.tam;
   
Line 54  abstract public class CMO extends OXbody{
Line 54  abstract public class CMO extends OXbody{
     return this.DISCRIMINATOR();      return this.DISCRIMINATOR();
   }    }
   
   abstract protected void sendByObject(OpenXMconnection stream)    abstract protected void sendByObject(OpenXMstream stream)
        throws IOException,MathcapViolation;         throws IOException,MathcapViolation;
   
   final public void write(OpenXMconnection os)    final public void write(OpenXMstream os)
        throws IOException,MathcapViolation{         throws IOException,MathcapViolation{
     CMO[] mathcap = os.getMathcap(OXmessage.OX_DATA);      CMO[] mathcap = os.getMathcap(OXmessage.OX_DATA);
   
Line 78  abstract public class CMO extends OXbody{
Line 78  abstract public class CMO extends OXbody{
     this.sendByObject(os);      this.sendByObject(os);
   }    }
   
   static protected CMO receive(OpenXMconnection is) throws IOException{    static protected CMO receive(OpenXMstream is) throws IOException{
     int a = is.readInt();      int a = is.readInt();
   
     switch(a){      switch(a){

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>