ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/client/WebFeeder.java
Revision 1.26 - (view) (annotate) - [select for diffs]
Sun Sep 25 09:57:40 2005 UTC (18 years, 7 months ago) by tdb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.25: +4 -3 lines
Diff to previous 1.25
Fix compile problems on j2se 1.5 - our Queue class conflicted with one in
java.util. Also fix an API issue when running the server on Windows - the
println method sends '\r\n' on Windows instead of '\n' on Unix, which
confuses applications such as ihost.

Patch provided by: skel

Revision 1.25 - (view) (annotate) - [select for diffs]
Sun Aug 1 10:40:41 2004 UTC (19 years, 9 months ago) by tdb
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24
Catch a lot of old URL's and update them. Also remove a couple of old files
that aren't used.

Revision 1.24 - (view) (annotate) - [select for diffs]
Wed Feb 5 16:43:45 2003 UTC (21 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.23: +4 -4 lines
Diff to previous 1.23
Changed the server to use the external util package. Quite a minor change,
but does affect a lot of files.

Revision 1.23 - (view) (annotate) - [select for diffs]
Tue May 21 16:47:16 2002 UTC (21 years, 11 months ago) by tdb
Branch: MAIN
Changes since 1.22: +3 -2 lines
Diff to previous 1.22
Added URL to GPL headers.

Revision 1.22 - (view) (annotate) - [select for diffs]
Sat May 18 18:16:00 2002 UTC (21 years, 11 months ago) by tdb
Branch: MAIN
Changes since 1.21: +21 -2 lines
Diff to previous 1.21
i-scream is now licensed under the GPL. I've added the GPL headers to every
source file, and put a full copy of the license in the appropriate places.
I think I've covered everything. This is going to be a mad commit ;)

Revision 1.21 - (view) (annotate) - [select for diffs]
Thu Jan 10 21:49:38 2002 UTC (22 years, 3 months ago) by tdb
Branch: MAIN
Branch point for: SERVER_PIRCBOT
Changes since 1.20: +75 -69 lines
Diff to previous 1.20
Fix for the following tracker bug on SourceForge:
  [ #490762 ] WebFeeder crashes (NullPointer)

This bug occured when the directory for the webfeeder to place alerts in
didn't exist. Unlike the rest of the block of code, this section didn't
do any checks to make sure it existed before trying to get a listing of it.
This resulted in a null pointer exception. The fix is simple - a check is
done to make sure it's a directory before getting a listing. If it doesn't
exist a warning is logged to alert the user that there is a problem. It is
common for this directory not to exist if no alerts have yet be generated.

Revision 1.20 - (view) (annotate) - [select for diffs]
Mon Dec 10 22:20:22 2001 UTC (22 years, 4 months ago) by tdb
Branch: MAIN
Changes since 1.19: +2 -6 lines
Diff to previous 1.19
Some minor javadoc tweaks. The first sentence is now more obvious to the
javadoc parser.

Revision 1.19 - (view) (annotate) - [select for diffs]
Tue May 29 17:02:34 2001 UTC (22 years, 11 months ago) by tdb
Branch: MAIN
Changes since 1.18: +7 -7 lines
Diff to previous 1.18
Major change in the java package naming. This has been held off for some time
now, but it really needed doing. The future packaging of all i-scream products
will be;

uk.org.iscream.<product>.<subpart>.*

In the case of the central monitoring system server this will be;

uk.org.iscream.cms.server.*

The whole server has been changed to follow this structure, and tested to a
smallish extent. Further changes in other parts of the CMS will follow.

Revision 1.18 - (view) (annotate) - [select for diffs]
Fri Mar 23 00:44:11 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
CVS Tags: PROJECT_COMPLETION
Changes since 1.17: +55 -13 lines
Diff to previous 1.17
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.

Revision 1.17 - (view) (annotate) - [select for diffs]
Thu Mar 22 18:08:38 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16
Need to set these to be synchronized, otherwise two Threads could potentially
call the getInstance() method at the same time - resulting in two constructions.

Revision 1.16 - (view) (annotate) - [select for diffs]
Mon Mar 19 21:30:30 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.15: +14 -3 lines
Diff to previous 1.15
Now cleans up empty host directories on the alert pages.

Revision 1.15 - (view) (annotate) - [select for diffs]
Fri Mar 16 16:47:33 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.14: +9 -3 lines
Diff to previous 1.14
Trying to explain what I'm doing better.

Revision 1.14 - (view) (annotate) - [select for diffs]
Fri Mar 16 16:43:50 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.13: +13 -8 lines
Diff to previous 1.13
Sorted the seperator character out :)

Revision 1.13 - (view) (annotate) - [select for diffs]
Fri Mar 16 02:40:04 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12
Missed this in the last change.

Revision 1.12 - (view) (annotate) - [select for diffs]
Thu Mar 15 22:20:41 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.11: +27 -30 lines
Diff to previous 1.11
Tidied the File handling, a bit more "proper" now.

Revision 1.11 - (view) (annotate) - [select for diffs]
Thu Mar 15 14:30:55 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.10: +155 -65 lines
Diff to previous 1.10
Added support for deleting old alert files.

Revision 1.10 - (view) (annotate) - [select for diffs]
Thu Mar 15 04:42:13 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.9: +38 -9 lines
Diff to previous 1.9
Now properly cleans up files, and fixed the filename extension.

Revision 1.9 - (view) (annotate) - [select for diffs]
Thu Mar 15 04:03:24 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.8: +37 -5 lines
Diff to previous 1.8
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.

Revision 1.8 - (view) (annotate) - [select for diffs]
Thu Mar 15 03:26:43 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.7: +6 -4 lines
Diff to previous 1.7
Now dumps data in a "correct" format.
Still needed is cleaning up, both on startup and after a given interval.

Revision 1.7 - (view) (annotate) - [select for diffs]
Wed Mar 14 23:25:29 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.6: +7 -7 lines
Diff to previous 1.6
The whole server package structure has been changed.
Old Package: uk.ac.ukc.iscream.*
New Package: uk.org.iscream.*

Revision 1.6 - (view) (annotate) - [select for diffs]
Thu Mar 8 23:26:03 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5
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.

Revision 1.5 - (view) (annotate) - [select for diffs]
Thu Mar 8 23:20:06 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.4: +56 -3 lines
Diff to previous 1.4
The WebFeeder now dumps Alert messages, and can be turned on and off.

Revision 1.4 - (view) (annotate) - [select for diffs]
Thu Mar 8 21:37:39 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.3: +8 -2 lines
Diff to previous 1.3
An extra check to make sure the packet is right...

Revision 1.3 - (view) (annotate) - [select for diffs]
Thu Mar 8 21:22:28 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.2: +32 -18 lines
Diff to previous 1.2
This should work a bit better. More checking is done.

Revision 1.2 - (view) (annotate) - [select for diffs]
Thu Mar 8 20:57:35 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.1: +43 -3 lines
Diff to previous 1.1
Added support for writing XMLPackets to disk.

Revision 1.1 - (view) (annotate) - [select for diffs]
Wed Mar 7 01:55:51 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
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.

Convenience Links

Links to HEAD: (view) (annotate)

Compare Revisions

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.

  Diffs between and
  Type of Diff should be a