ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/rootfilter/RootFilter.java
Revision 1.44 - (view) (annotate) - [select for diffs]
Sun Aug 1 10:41:06 2004 UTC (19 years, 9 months ago) by tdb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.43: +3 -3 lines
Diff to previous 1.43
Catch a lot of old URL's and update them. Also remove a couple of old files
that aren't used.

Revision 1.43 - (view) (annotate) - [select for diffs]
Mon May 5 22:05:14 2003 UTC (21 years ago) by tdb
Branch: MAIN
Changes since 1.42: +8 -74 lines
Diff to previous 1.42
Tidy up of the client interface code - more commonly known as the
"right hand side of the server". Right since the start the filter
side of the server has been nice and tree like - every Filter sent
data to another Filter. At the top of the tree there was a "special"
Filter known as the RootFilter, which to the other Filters just
looked like a normal Filter. This was nice, and simple, and expandable.

The Client Interface on the other hand was messy. The root filter
had some hacky wrapper threads which pulled from a queue and pushed
to the relevant client interfaces (one for real time stuff, and the
other for databases). There was no simple room for expandability -
it was all hardwired to do just what was needed at the time.

This commit changes that. A Client Interface now connects to another
Client Interface, with a special one being found in the RootFilter
(yes, maybe that needs a name change now :-). So we can chain client
interfaces, and move other bits and bobs around in the server - for
example, alerting no longer needs to be connected to the Client
Interface, it can connect straight to the RootFilter (or, wherever
the config tells it ;).

Hopefully this sanitizes the underlying layout of the server a bit.

As a final note, I dropped the DBInterface. This used to insert
data in to a MySQL database. We've long since stopped using that,
and it's fallen behind and is way out of date. For now, it's gone
in to the attic.

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

Revision 1.41 - (view) (annotate) - [select for diffs]
Fri Sep 6 15:10:48 2002 UTC (21 years, 8 months ago) by tdb
Branch: MAIN
Changes since 1.40: +7 -7 lines
Diff to previous 1.40
Fix for upgrade to Jacorb 1.4.1. It's our fault actually, we've not been
correctly using the names when binding to the Naming Service. This needs to
be fixed properly at some point, but for now I've changed changed the code
so it "means" the same as it did before the upgrade.

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

Revision 1.39 - (view) (annotate) - [select for diffs]
Sat May 18 18:16:02 2002 UTC (21 years, 11 months ago) by tdb
Branch: MAIN
Changes since 1.38: +22 -3 lines
Diff to previous 1.38
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.38 - (view) (annotate) - [select for diffs]
Tue May 29 17:02:35 2001 UTC (22 years, 11 months ago) by tdb
Branch: MAIN
Branch point for: SERVER_PIRCBOT
Changes since 1.37: +8 -8 lines
Diff to previous 1.37
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.37 - (view) (annotate) - [select for diffs]
Fri Mar 23 05:30:44 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
CVS Tags: PROJECT_COMPLETION
Changes since 1.36: +10 -8 lines
Diff to previous 1.36
Opps... if both were null it would try and start them :)

Revision 1.36 - (view) (annotate) - [select for diffs]
Fri Mar 23 05:26:52 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.35: +9 -3 lines
Diff to previous 1.35
Arg.. more bugs. Need to check both independently.

Revision 1.35 - (view) (annotate) - [select for diffs]
Fri Mar 23 04:57:09 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.34: +28 -9 lines
Diff to previous 1.34
Now only enforces a dependency on either the Client Interface or the Database
Interface if it is configured. This ensures that the startup order is still
correct (which it wouldn't if the checks were removed), but also doesn't enforce
the checks when one of the interfaces is disabled.

Revision 1.34 - (view) (annotate) - [select for diffs]
Fri Mar 16 15:22:13 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.33: +4 -2 lines
Diff to previous 1.33
Some debugging information, so we can closer track what's happening.

Revision 1.33 - (view) (annotate) - [select for diffs]
Fri Mar 16 15:16:01 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.32: +27 -4 lines
Diff to previous 1.32
Added queue size limit. This is provisional, if it is a success it will be
mirrored across the whole server.

Revision 1.32 - (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.31: +8 -8 lines
Diff to previous 1.31
The whole server package structure has been changed.
Old Package: uk.ac.ukc.iscream.*
New Package: uk.org.iscream.*

Revision 1.31 - (view) (annotate) - [select for diffs]
Wed Mar 14 01:54:35 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.30: +4 -4 lines
Diff to previous 1.30
Of course, being my usual sensible self, I potentially had a situation where by
I would log to the Logger than the Logger isn't running. Clever eh ? :)

Revision 1.30 - (view) (annotate) - [select for diffs]
Wed Mar 14 01:43:58 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.29: +4 -5 lines
Diff to previous 1.29
We weren't grabbing a ReferenceManager reference until startup, although there
is no reason (unlike the Logger) why we can't grab it on construction.

Revision 1.29 - (view) (annotate) - [select for diffs]
Wed Mar 14 01:34:34 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.28: +33 -3 lines
Diff to previous 1.28
New dependency checking. The old method was to attempt to start a Component, and
if it failed, it probably had a depdency problem. The approach now is to ask the
Component to perform a dependency check first, then if this suceeds, have a go
at actually starting it up.
The actual dependency check is a bit neater and more precise than before, and
should be much more fool proof. The order the components are specified in the
default.properties file is now irrelevant, although the "correct" order would
certainly increase booting time.

Revision 1.28 - (view) (annotate) - [select for diffs]
Tue Mar 13 16:37:31 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.27: +34 -37 lines
Diff to previous 1.27
Now makes use of the ConfigurationProxy.

Revision 1.27 - (view) (annotate) - [select for diffs]
Mon Feb 26 02:15:11 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.26: +12 -5 lines
Diff to previous 1.26
now doesn't worry if it can't find certain configuration options
mainly if it hasn't got a configured interface
as it just crashed and burned up till now if you selected NOT to start one
I'm sure it used to work, but it didn't today so I changed it ;)

Revision 1.26 - (view) (annotate) - [select for diffs]
Fri Feb 23 17:08:50 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.25: +8 -5 lines
Diff to previous 1.25
now only uses the reference manager on calls to start()

Revision 1.25 - (view) (annotate) - [select for diffs]
Wed Feb 21 19:11:31 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.24: +6 -3 lines
Diff to previous 1.24
Modification to the Queue system;
- interval of monitor is now configurable.
- attempt to identify each Queue better, although this is still hard.

Revision 1.24 - (view) (annotate) - [select for diffs]
Mon Feb 12 02:22:19 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.23: +4 -2 lines
Diff to previous 1.23
Now we monitor the Queue here every 60 seconds.

Revision 1.23 - (view) (annotate) - [select for diffs]
Sun Jan 28 06:03:58 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.22: +8 -11 lines
Diff to previous 1.22
A tidy up of the configuration getting section.

Revision 1.22 - (view) (annotate) - [select for diffs]
Fri Jan 19 01:22:24 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.21: +2 -18 lines
Diff to previous 1.21
Removed temporary code.

Revision 1.21 - (view) (annotate) - [select for diffs]
Fri Jan 19 01:20:15 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.20: +4 -4 lines
Diff to previous 1.20
Best catch some exceptions... correctly.

Revision 1.20 - (view) (annotate) - [select for diffs]
Fri Jan 19 01:19:31 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.19: +10 -5 lines
Diff to previous 1.19
Best catch some exceptions.

Revision 1.19 - (view) (annotate) - [select for diffs]
Fri Jan 19 01:16:13 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.18: +6 -6 lines
Diff to previous 1.18
TEMPORARY: Added some temporary code to log the queue status. Messy,
and will definately need to be fixed. (error in previous commit)

Revision 1.18 - (view) (annotate) - [select for diffs]
Fri Jan 19 01:12:42 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.17: +14 -2 lines
Diff to previous 1.17
TEMPORARY: Added some temporary code to log the queue status. Messy,
and will definately need to be fixed.

Revision 1.17 - (view) (annotate) - [select for diffs]
Thu Jan 18 23:20:28 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16
Changes to reflect move of Component, ComponentStartException, and the
ReferenceManager from util to componentmanager.

Revision 1.16 - (view) (annotate) - [select for diffs]
Thu Jan 18 23:18:40 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.15: +4 -3 lines
Diff to previous 1.15
Changes to reflect move of Component, ComponentStartException, and the
ReferenceManager from util to componentmanager.

Revision 1.15 - (view) (annotate) - [select for diffs]
Tue Jan 2 03:19:37 2001 UTC (23 years, 4 months ago) by tdb
Branch: MAIN
Changes since 1.14: +15 -9 lines
Diff to previous 1.14
Implemented use of the CIWrapper class, and the Queue.

Revision 1.14 - (view) (annotate) - [select for diffs]
Wed Dec 13 15:46:22 2000 UTC (23 years, 4 months ago) by ajm
Branch: MAIN
Changes since 1.13: +4 -15 lines
Diff to previous 1.13
fixed naming problem by only using the static

Revision 1.13 - (view) (annotate) - [select for diffs]
Wed Dec 13 12:58:26 2000 UTC (23 years, 4 months ago) by ajm
Branch: MAIN
Changes since 1.12: +9 -8 lines
Diff to previous 1.12
fixed some silly bugs

Revision 1.12 - (view) (annotate) - [select for diffs]
Tue Dec 12 20:59:03 2000 UTC (23 years, 4 months ago) by ajm
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11
fixed mistake where it creates both interfaces but should only create one

Revision 1.11 - (view) (annotate) - [select for diffs]
Tue Dec 12 20:44:03 2000 UTC (23 years, 4 months ago) by ajm
Branch: MAIN
Changes since 1.10: +20 -7 lines
Diff to previous 1.10
supports not starting particular interfaces.

Revision 1.10 - (view) (annotate) - [select for diffs]
Tue Dec 12 19:54:55 2000 UTC (23 years, 4 months ago) by ajm
Branch: MAIN
Changes since 1.9: +81 -54 lines
Diff to previous 1.9
updated code
componeterized the system

Revision 1.9 - (view) (annotate) - [select for diffs]
Tue Dec 5 16:00:11 2000 UTC (23 years, 5 months ago) by ajm
Branch: MAIN
Branch point for: SERVER_PACKAGEBUILD
Changes since 1.8: +3 -5 lines
Diff to previous 1.8
Modified to use the dbinterface

Revision 1.8 - (view) (annotate) - [select for diffs]
Mon Dec 4 18:12:13 2000 UTC (23 years, 5 months ago) by ajm
Branch: MAIN
Changes since 1.7: +21 -5 lines
Diff to previous 1.7
modified to use the ClientInterface system

Revision 1.7 - (view) (annotate) - [select for diffs]
Thu Nov 30 03:15:43 2000 UTC (23 years, 5 months ago) by ajm
Branch: MAIN
Changes since 1.6: +3 -2 lines
Diff to previous 1.6
added line to redefine the toString()
its temporary...but what the hell...when we do our funky class to have a standard toString() it might be better! ;-p

Revision 1.6 - (view) (annotate) - [select for diffs]
Thu Nov 30 03:11:02 2000 UTC (23 years, 5 months ago) by ajm
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5
Fixed error of wrong class name

Revision 1.5 - (view) (annotate) - [select for diffs]
Thu Nov 30 03:06:39 2000 UTC (23 years, 5 months ago) by ajm
Branch: MAIN
Changes since 1.4: +48 -110 lines
Diff to previous 1.4
Updated to use the uk.ac.ukc.iscream.util.ReferenceManager

Revision 1.4 - (view) (annotate) - [select for diffs]
Thu Nov 30 02:42:56 2000 UTC (23 years, 5 months ago) by tdb
Branch: MAIN
Changes since 1.3: +3 -2 lines
Diff to previous 1.3
Package updates.

Revision 1.3 - (view) (annotate) - [select for diffs]
Wed Nov 29 19:33:35 2000 UTC (23 years, 5 months ago) by tdb
Branch: MAIN
Changes since 1.2: +3 -2 lines
Diff to previous 1.2
Made changes to fit in with the new package structure. Also made sure all files
conform to the template class.

Revision 1.2 - (view) (annotate) - [select for diffs]
Tue Nov 21 22:33:24 2000 UTC (23 years, 5 months ago) by tdb
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1
Whoops, should have changed the class header with the filename :)

Revision 1.1 - (view) (annotate) - [select for diffs]
Tue Nov 21 21:10:29 2000 UTC (23 years, 5 months ago) by tdb
Branch: MAIN
Main method for a Root Filter. The Root Filter lives at the root of the filter
system, and will ultimately deal with the deliver of data into the system.

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