[Tinyos-contrib-commits]
CVS: tinyos-1.x/contrib/wustl/tools/java/edu/wustl/mobilab/agilla
AgentInjector.java, 1.22.2.3, 1.22.2.4
Chien-Liang Fok
chien-liang at users.sourceforge.net
Mon Nov 20 23:15:45 PST 2006
Update of /cvsroot/tinyos/tinyos-1.x/contrib/wustl/tools/java/edu/wustl/mobilab/agilla
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv23959
Modified Files:
Tag: GroupComm
AgentInjector.java
Log Message:
Added experiment latency measurement code.
Index: AgentInjector.java
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/wustl/tools/java/edu/wustl/mobilab/agilla/AgentInjector.java,v
retrieving revision 1.22.2.3
retrieving revision 1.22.2.4
diff -C2 -d -r1.22.2.3 -r1.22.2.4
*** AgentInjector.java 21 Nov 2006 00:34:01 -0000 1.22.2.3
--- AgentInjector.java 21 Nov 2006 07:15:43 -0000 1.22.2.4
***************
*** 1,713 ****
! // $Id$
!
! /* Agilla - A middleware for wireless sensor networks.
! * Copyright (C) 2004, Washington University in Saint Louis
! * By Chien-Liang Fok.
! *
! * Washington University states that Agilla is free software;
! * you can redistribute it and/or modify it under the terms of
! * the current version of the GNU Lesser General Public License
! * as published by the Free Software Foundation.
[...1405 lines suppressed...]
! public void run () {
! while(true) {
! AgillaSetBSMsgJ bsMsg = new AgillaSetBSMsgJ(vID); // notify mote it is a base station
! // System.out.println("Sending " + bsMsg);
! injector.sendMsg(bsMsg);
! try {
! Thread.sleep(3000);
! } catch(Exception e) {
! e.printStackTrace();
! }
! }
! }
! }
!
! private void log(String msg) {
! Debugger.dbg("AgentInjector", msg);
! }
!
! }
!
More information about the Tinyos-contrib-commits
mailing list