Now does a cleanup of stale alerts left behind by a host after it shuts down. This is done by removing any alerts older than a FINAL Heartbeat alert.
Need to set these to be synchronized, otherwise two Threads could potentially call the getInstance() method at the same time - resulting in two constructions.
Now cleans up empty host directories on the alert pages.
Trying to explain what I'm doing better.
Sorted the seperator character out :)
Missed this in the last change.
Tidied the File handling, a bit more "proper" now.
Added support for deleting old alert files.
Now properly cleans up files, and fixed the filename extension.
Added functionality to the constructor to tidy up any existing alerts from any previous invocations of the server. Also changed the routine that dumps the data to rename an old file, rather than delete and recreate a new one.
Now dumps data in a "correct" format. Still needed is cleaning up, both on startup and after a given interval.
The whole server package structure has been changed. Old Package: uk.ac.ukc.iscream.* New Package: uk.org.iscream.*
Alert data is appended. This is not currently the best way to do it, as we have no way of "cleaning" up. This will be discussed and resolved later on.
The WebFeeder now dumps Alert messages, and can be turned on and off.
An extra check to make sure the packet is right...
This should work a bit better. More checking is done.
Added support for writing XMLPackets to disk.
Added a new part of the local client called the WebFeeder. This class consists of three parts; WebFeeder__Monitor: provides a feed of XMLPackets to the WebFeeder WebFeeder__Alerter: provides a feed of Alerts to the WebFeeder WebFeeder: a singleton class that will manage dumping of XMLPackets and Alerts This data will be written out in a textual format, although this secion has not been completed. The WebFeeder may also provide configuration information, if required.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.