version 1.1, 2000/09/09 11:54:08 |
version 1.2, 2000/09/13 06:32:42 |
|
|
/** |
/** |
* $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){ |