Update of /cvsroot/pyxida/Pyxida/src/edu/harvard/syrah/pyxida
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3630/src/edu/harvard/syrah/pyxida
Modified Files:
Pyxida.java
Log Message:
objComm is looking for SBON code :(
Index: Pyxida.java
===================================================================
RCS file: /cvsroot/pyxida/Pyxida/src/edu/harvard/syrah/pyxida/Pyxida.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** Pyxida.java 24 Nov 2006 13:58:57 -0000 1.5
--- Pyxida.java 25 Nov 2006 21:39:59 -0000 1.6
***************
*** 12,15 ****
--- 12,19 ----
import edu.harvard.syrah.sbon.async.CallbacksIF.CB0;
+ import edu.harvard.syrah.sbon.comm.AddressFactory;
+ import edu.harvard.syrah.sbon.comm.AddressIF;
+ import edu.harvard.syrah.sbon.comm.obj.*;
+
public class Pyxida {
private static final Log log = new Log(Pyxida.class);
***************
*** 26,33 ****
--- 30,42 ----
private APIManager apiManager = null;
private PingManager pingManager = null;
+ private ObjCommIF comm;
private Pyxida() { /* empty */ }
private void init() {
+
+ // TODO not sure if this needs to be out here
+ // or can be pushed into NCManager
+ comm = new ObjComm();
// Initialise the measurement modules
pingManager = new PingManager();
***************
*** 35,39 ****
protected void cb(CBResult result) {
// Initialise the NCs that we're responsible for
! ncManager = new NCManager(pingManager);
ncManager.init();
--- 44,48 ----
protected void cb(CBResult result) {
// Initialise the NCs that we're responsible for
! ncManager = new NCManager(comm,pingManager);
ncManager.init();
|