ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/TCPControlHandler.java
Revision 1.30 - (view) (annotate) - [select for diffs]
Sun Sep 25 09:57:41 2005 UTC (18 years, 7 months ago) by tdb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.29: +4 -3 lines
Diff to previous 1.29
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.29 - (view) (annotate) - [select for diffs]
Sun Aug 1 10:40:48 2004 UTC (19 years, 9 months ago) by tdb
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28
Catch a lot of old URL's and update them. Also remove a couple of old files
that aren't used.

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

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

Revision 1.26 - (view) (annotate) - [select for diffs]
Sat May 18 18:16:01 2002 UTC (22 years ago) by tdb
Branch: MAIN
Changes since 1.25: +21 -2 lines
Diff to previous 1.25
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.25 - (view) (annotate) - [select for diffs]
Thu Mar 21 13:01:21 2002 UTC (22 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.24: +7 -2 lines
Diff to previous 1.24
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 :)

Revision 1.24 - (view) (annotate) - [select for diffs]
Wed Mar 20 12:56:37 2002 UTC (22 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.23: +21 -5 lines
Diff to previous 1.23
Added Access Control Lists to all parts of the server that listen for
either TCP or UDP connections.

Revision 1.23 - (view) (annotate) - [select for diffs]
Tue May 29 17:02:34 2001 UTC (22 years, 11 months ago) by tdb
Branch: MAIN
Branch point for: SERVER_PIRCBOT
Changes since 1.22: +7 -7 lines
Diff to previous 1.22
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.22 - (view) (annotate) - [select for diffs]
Mon Mar 19 02:10:53 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
CVS Tags: PROJECT_COMPLETION
Changes since 1.21: +27 -7 lines
Diff to previous 1.21
Gives the client a more versatile range of configuration. Restrictions still
apply. See protocol update for more details.

Revision 1.21 - (view) (annotate) - [select for diffs]
Sat Mar 17 03:57:38 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.20: +5 -5 lines
Diff to previous 1.20
Missed this bit when plugging in the ConfigurationProxy.

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

Revision 1.19 - (view) (annotate) - [select for diffs]
Tue Mar 13 18:37:08 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.18: +12 -13 lines
Diff to previous 1.18
Now makes use of the ConfigurationProxy.

Revision 1.18 - (view) (annotate) - [select for diffs]
Tue Mar 13 02:19:44 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.17: +5 -2 lines
Diff to previous 1.17
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.

Revision 1.17 - (view) (annotate) - [select for diffs]
Tue Feb 27 01:10:01 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.16: +6 -6 lines
Diff to previous 1.16
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.

Revision 1.16 - (view) (annotate) - [select for diffs]
Mon Feb 26 00:58:25 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.15: +6 -2 lines
Diff to previous 1.15
Cleaning up after a "fatal" disconnect.

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

Revision 1.14 - (view) (annotate) - [select for diffs]
Mon Feb 12 02:23:53 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.13: +4 -2 lines
Diff to previous 1.13
Now monitor the Queue here every 60 seconds, reporting back to the Queue in
the PacketSorter class.

Revision 1.13 - (view) (annotate) - [select for diffs]
Wed Feb 7 13:47:33 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.12: +3 -4 lines
Diff to previous 1.12
Made use of the autoflush feature of PrintWriter.

Revision 1.12 - (view) (annotate) - [select for diffs]
Thu Feb 1 00:18:13 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.11: +79 -62 lines
Diff to previous 1.11
Neatened the message sending to the client by moving common bits to private
methods. It's a touch easier to follow the code now.

Revision 1.11 - (view) (annotate) - [select for diffs]
Mon Jan 29 02:01:45 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10
ick, typo.

Revision 1.10 - (view) (annotate) - [select for diffs]
Mon Jan 29 02:00:03 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.9: +17 -2 lines
Diff to previous 1.9
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.

Revision 1.9 - (view) (annotate) - [select for diffs]
Sat Jan 27 23:30:40 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.8: +63 -22 lines
Diff to previous 1.8
All of these classes have been javadoc'd and commented.

Revision 1.8 - (view) (annotate) - [select for diffs]
Wed Jan 24 00:55:33 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.7: +9 -3 lines
Diff to previous 1.7
A bit of tightening up. I think this will have caught the NullPointer exception
that was been thrown when clients "uncleanly" disconnected.

Revision 1.7 - (view) (annotate) - [select for diffs]
Wed Jan 24 00:43:19 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.6: +14 -8 lines
Diff to previous 1.6
Added support for the Protocol 1.1 configuration spec.

Revision 1.6 - (view) (annotate) - [select for diffs]
Tue Jan 23 18:23:03 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.5: +4 -4 lines
Diff to previous 1.5
General bug fixing. It now works for the features it should.

Revision 1.5 - (view) (annotate) - [select for diffs]
Tue Jan 23 17:22:01 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.4: +14 -8 lines
Diff to previous 1.4
Now supports "all hosts".

Revision 1.4 - (view) (annotate) - [select for diffs]
Tue Jan 23 16:56:31 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.3: +24 -10 lines
Diff to previous 1.3
Changed to support the new Protocol 1.1. This protocol supports selecting the
hosts a client wishes to monitor at connect time.

Revision 1.3 - (view) (annotate) - [select for diffs]
Mon Jan 22 23:08:15 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
CVS Tags: CLI_PROTOCOL_1_0
Changes since 1.2: +9 -2 lines
Diff to previous 1.2
Fixed a bug with the DISCONNECT command not closing the data channel.

Revision 1.2 - (view) (annotate) - [select for diffs]
Mon Jan 22 02:57:38 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.1: +11 -14 lines
Diff to previous 1.1
All files changed to now incorporate a Queue. Makes the whole setup much tidier
and will enable levels of buffering.

Revision 1.1 - (view) (annotate) - [select for diffs]
Mon Jan 22 01:42:32 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
The Control Handler for a TCP Client. Manages setting up the clinet, responding
to client requests, and keeping the client up to date.

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