version 1.1, 2000/09/12 07:05:07 |
version 1.2, 2000/09/13 06:32:43 |
|
|
/** |
/** |
* $OpenXM$ |
* $OpenXM: OpenXM/src/OpenMath/ORG/openxm/tam/CMO_STRING.java,v 1.1 2000/09/12 07:05:07 tam Exp $ |
*/ |
*/ |
package ORG.openxm.tam; |
package ORG.openxm.tam; |
|
|
Line 36 final public class CMO_STRING extends CMO{ |
|
Line 36 final public class CMO_STRING extends CMO{ |
|
return CMO.STRING; |
return CMO.STRING; |
} |
} |
|
|
protected void sendByObject(OpenXMconnection os) throws IOException{ |
protected void sendByObject(OpenXMstream os) throws IOException{ |
byte[] buf = str.getBytes(); |
byte[] buf = str.getBytes(); |
|
|
os.writeInt(buf.length); |
os.writeInt(buf.length); |
Line 45 final public class CMO_STRING extends CMO{ |
|
Line 45 final public class CMO_STRING extends CMO{ |
|
} |
} |
} |
} |
|
|
static protected CMO receive(OpenXMconnection is) throws IOException{ |
static protected CMO receive(OpenXMstream is) throws IOException{ |
int len; |
int len; |
byte[] buf=null; |
byte[] buf=null; |
|
|