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
Catch a lot of old URL's and update them. Also remove a couple of old files that aren't used.
Changed the server to use the external util package. Quite a minor change, but does affect a lot of files.
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 ;)
Made the ACL's dynamic where appropriate. This isn't perfect, the ACL will only get reloaded after the next connection. This is because the check is done in the main while loop, and will only get done before a new thread is spawned to deal with a connection. It will have the desired effect though, I hope :)
Added Access Control Lists to all parts of the server that listen for either TCP or UDP connections.
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.
Gives the client a more versatile range of configuration. Restrictions still apply. See protocol update for more details.
Missed this bit when plugging in the ConfigurationProxy.
The whole server package structure has been changed. Old Package: uk.ac.ukc.iscream.* New Package: uk.org.iscream.*
Now makes use of the ConfigurationProxy.
Given all the classes that extend Thread a name using Thread.setName(). It is only representative as far as it will tell us which class the Thread is, but this will go some way to aiding debugging. If time permitted, more effort could be taken to name each thread according to what it was dealing with.
Moved the last catchall to close the DataHandlers. Now we'll be sure to close any that are left open when we close the Thread.
Cleaning up after a "fatal" disconnect.
Modification to the Queue system; - interval of monitor is now configurable. - attempt to identify each Queue better, although this is still hard.
Now monitor the Queue here every 60 seconds, reporting back to the Queue in the PacketSorter class.
Made use of the autoflush feature of PrintWriter.
Neatened the message sending to the client by moving common bits to private methods. It's a touch easier to follow the code now.
ick, typo.
A bit of checking of the input. It's likely that if we get a null back something has gone haywire in the communication. This could probably be done better.
All of these classes have been javadoc'd and commented.
A bit of tightening up. I think this will have caught the NullPointer exception that was been thrown when clients "uncleanly" disconnected.
Added support for the Protocol 1.1 configuration spec.
General bug fixing. It now works for the features it should.
Now supports "all hosts".
Changed to support the new Protocol 1.1. This protocol supports selecting the hosts a client wishes to monitor at connect time.
Fixed a bug with the DISCONNECT command not closing the data channel.
All files changed to now incorporate a Queue. Makes the whole setup much tidier and will enable levels of buffering.
The Control Handler for a TCP Client. Manages setting up the clinet, responding to client requests, and keeping the client up to date.
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.