Commit Graph

22 Commits

Author SHA1 Message Date
f7212112b8 mark the ping datapoint before actually sending it, for those instances where a reply can be sent back faster than the ACK of the send 2004-04-30 06:58:42 +00:00
86d55b32a6 include the (redundant) rtt in the output file to let tools that dont know how to combine columns do so
*cough*
2004-04-30 06:56:25 +00:00
65f1a5fed6 write out the public dest every time we connect, /including/ the first time. (thanks duck) 2004-04-20 13:30:09 +00:00
c03cb1de5e revised GUI fetch/build/dist process - at the top level, run
'ant prepGUI' to fetch and prepare the jfreechart code
'ant buildGUI' to build the jars necessary
'ant distGUI' to build a gui.zip that contains the jars and a
license notice related to the LGPL and APL software linked
within it.
("installing" the GUI == unzip gui.zip into the I2P install dir)
2004-04-20 09:13:07 +00:00
7e1b49a742 fixed up some of the cleanup code to handle out of order responses
minor refactoring, formatting
2004-04-20 07:42:53 +00:00
d26c56e467 verbose4life 2004-04-20 07:39:47 +00:00
33782859b8 the heartbeat engine and gui are good 'nuff for now
(while i want to spend another few days on it, there
are more pressing things and this will meet my needs
for testnet).  the engine works as before, and the
gui now actually plots out and follows the chart over time.
The gui does have a lot of things left to be done before
it can be adopted by joe sixpack -
 * load/store the URLs being monitored so you don't
   have to reenter them on each startup
 * clear out the x axis on refetch (now it just keeps
   growing, which is good and bad)
 * adjustable refresh rate
 * implement snapshots (saving all the current state
   files to a dir, and allowing that dir to be loaded
   all at once)
 * beautification (override the colors, etc)
the net.i2p.heartbeat.** code is all public domain, BUT
net.i2p.heartbeat.gui.JFreeChart* classes depend on the
LGPL'ed jfreechart code, which in turn depends on apache
licensed code (log4j).  for the time being, this code
doesn't include the jfreechart code (and dependencies),
but the ant task in apps/heartbeat/java 'fetchJfreechart'
downloads it and places it under apps/heartbeat/java/lib,
after which you can build the GUI by running the ant task
'buildGUI' (buildGUI / etc are NOT in the standard build
process).
once we figure out all the details to comply with the
requirements of log4j's license we'll do so.  but for now,
the above works.
2004-04-13 03:24:04 +00:00
e3354a805e javadoc, imports
(shendaras)
2004-04-12 08:14:07 +00:00
7c155545ae partial impl of the gui, still a few things left to do:
- implement some validation on the state files loaded
- reenable delete and updates to refresh
- integrate the real chart code (currently just plain text instead of the graphs)
- gui updates
i wont spend more than another day on this during the testnet, but i want to get it plotting before continuing.
2004-04-12 02:44:18 +00:00
17a1b11f66 beginning of format, updated imports. (shendaras) 2004-04-10 11:45:02 +00:00
dbe5dea525 120 code, 160 comments (shendaras) 2004-04-10 11:01:42 +00:00
604af822aa see how that looks
(shendaras)
2004-04-10 10:58:11 +00:00
435759c21c indent on column, update javadoc
(shendaras)
2004-04-10 10:31:03 +00:00
847f094975 @seeRoutine -> @see
(shendaras)
2004-04-10 10:26:19 +00:00
b939d86975 once more to fix newline after @param (shendaras) 2004-04-10 10:20:37 +00:00
3e5f56b19b final? (shendaras) 2004-04-10 10:17:32 +00:00
d81f42e3e9 again? Longer wrapping
(shendaras)
2004-04-10 10:08:33 +00:00
4fb3d34786 see how that looks
(shendaras)
2004-04-10 10:01:17 +00:00
9a0a527b2b try with different settings... 2004-04-10 09:55:11 +00:00
ba8fb23b9d editor testing (ignore for now) 2004-04-10 09:43:29 +00:00
99790695a2 Javadoc, imports, and (potentially) some indentation. Maybe it won't do anything.... who knows?
(shendaras)
2004-04-10 09:12:59 +00:00
f8a47c3c6a initial impl (heartbeat ping/pong works, no gui yet, but the stats generated are pretty readable) 2004-04-10 04:11:39 +00:00