/** * $OpenXM: OpenXM/src/OpenMath/testclient.java,v 1.1 2000/01/28 06:22:01 tam Exp $ * */ import java.io.*; import JP.ac.kobe_u.math.tam.OpenXM.*; final class testclient{ private OpenXM asir; // for debug public static String usage(){ return "\n"; } public static void main(String[] argv) throws IOException{ OpenXM asir; String host = "localhost"; int CtrlPort = 1200,StreamPort = 1300; for(int i=0;i "+ asir.receiveSM()); break; case OpenXM.OX_DATA: tmp = asir.receiveCMO(); System.out.println("=> "+ tmp); break; } } }catch(IOException e){ e.printStackTrace(); }finally{ System.out.println("breaking..."); } } }