|
From: Peter P. <pr...@us...> - 2006-11-28 18:49:42
|
Update of /cvsroot/pyxida/Pyxida/src/edu/harvard/syrah/pyxida In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26619/src/edu/harvard/syrah/pyxida Modified Files: Pyxida.java Log Message: Implemented APIManager with XMLRPC API Implemented measurement call in PingManager (I didn't test either, so sent me bug reports.) Index: Pyxida.java =================================================================== RCS file: /cvsroot/pyxida/Pyxida/src/edu/harvard/syrah/pyxida/Pyxida.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Pyxida.java 27 Nov 2006 16:24:59 -0000 1.11 --- Pyxida.java 28 Nov 2006 18:49:35 -0000 1.12 *************** *** 62,66 **** // Initialise the external APIs apiManager = new APIManager(ncManager); ! apiManager.init(); break; } --- 62,81 ---- // Initialise the external APIs apiManager = new APIManager(ncManager); ! apiManager.init(new CB0() { ! protected void cb(CBResult result) { ! switch (result.state) { ! case OK: { ! log.main("Pyxida node initialised correctly."); ! break; ! } ! case TIMEOUT: ! case ERROR: { ! log.error("Initialising failed: " + result.toString()); ! break; ! } ! } ! } ! ! }); break; } |