Catch a lot of old URL's and update them. Also remove a couple of old files that aren't used.
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.
Changed the server to use the external util package. Quite a minor change, but does affect a lot of files.
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.
Added URL to GPL headers.
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 ;)
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.
Sorted out the naming a bit. Uses the config name "ClientInterface", with the NAME now coming from ClientInterface.name, rather than RootFilter... as before.
The whole server package structure has been changed. Old Package: uk.ac.ukc.iscream.* New Package: uk.org.iscream.*
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 ? :)
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.
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.
Now makes use of the ConfigurationProxy.
now only uses the reference manager on calls to start()
Modification to the Queue system; - interval of monitor is now configurable. - attempt to identify each Queue better, although this is still hard.
Added starting up of the CorbaClientListener, and registering it in the Naming Service.
An inability to type is not helping.
Tidied up the getting configuration section. It used to bail out completely, but as seen as we have this Exception we can throw.. why not throw it ?
All of these classes have been javadoc'd and commented.
General bug fixing. It now works for the features it should.
Changed to support the new Protocol 1.1. This protocol supports selecting the hosts a client wishes to monitor at connect time.
All files changed to now incorporate a Queue. Makes the whole setup much tidier and will enable levels of buffering.
Changed due to name change of ClientListener.java to TCPClientListener.java
Changes to reflect move of Component, ComponentStartException, and the ReferenceManager from util to componentmanager.
Changes to reflect move of Component, ComponentStartException, and the ReferenceManager from util to componentmanager.
Changes to reflect move of Component, ComponentStartException, and the ReferenceManager from util to componentmanager.
fixed the static naming problem again
now componenterized also supports new toString standard
Modified to use the database
fixed Tim's REALLY silly mistake in the TCPClientHandler ;-p Added support for the ClientListener to the ClientInterface
initial checkin
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.