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/PacketSorter.java
Revision 1.18 - (view) (annotate) - [select for diffs]
Tue May 29 17:02:34 2001 UTC (23 years ago) by tdb
Branch: MAIN
Branch point for: SERVER_PIRCBOT
Changes since 1.17: +7 -7 lines
Diff to previous 1.17
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.17 - (view) (annotate) - [select for diffs]
Fri Mar 16 16:11:31 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
CVS Tags: PROJECT_COMPLETION
Changes since 1.16: +32 -5 lines
Diff to previous 1.16
Implemented Queue size limiting.

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

Revision 1.15 - (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.14: +14 -8 lines
Diff to previous 1.14
Now makes use of the ConfigurationProxy.

Revision 1.14 - (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.13: +5 -2 lines
Diff to previous 1.13
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.13 - (view) (annotate) - [select for diffs]
Sat Mar 10 04:03:04 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.12: +4 -4 lines
Diff to previous 1.12
Changes due to the alterations in the XML creation code. The XMLPacketMaker now
only needs to be created once, and can then be called multiple times to create
XML packets. This should be more efficient in the long run.

Revision 1.12 - (view) (annotate) - [select for diffs]
Thu Mar 1 23:57:09 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.11: +39 -27 lines
Diff to previous 1.11
Further attempts to sort this class out. This has gone very much to the extreme
now. Every access to the lists and hostmap is synchronized on this object. This
means that only one of the bits may be executed at once. Whilst this may clearly
solve some problems, it does open this class to becoming a major bottleneck, and
could possibly lead to deadlock externally (although I think our Queue's avoid
this issue).

Revision 1.11 - (view) (annotate) - [select for diffs]
Thu Mar 1 17:29:46 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.10: +30 -24 lines
Diff to previous 1.10
Just for the record, Collections.synchronizedList() doesn't work :)
I've now manually synchronized the methods that access the lists and map, and
put the sections of the run method that do the same in synchronized blocks.
This should work, I hope. A lot of hoping seems to be going on here :)

Revision 1.10 - (view) (annotate) - [select for diffs]
Thu Mar 1 16:53:16 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.9: +29 -11 lines
Diff to previous 1.9
Added a try catch section for creating the XMLPacket.
Hopefully fixed the JVM deadlock/crash thing.
Fixed the problem with clients not receiving Queue data if they've called the
SETHOSTLIST command on a Handler.

Revision 1.9 - (view) (annotate) - [select for diffs]
Thu Mar 1 02:14:37 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.8: +5 -5 lines
Diff to previous 1.8
Some ClassCastExceptions going on that only just came up when the client got
to 1.1 protocol :)

Revision 1.8 - (view) (annotate) - [select for diffs]
Wed Feb 28 10:26:47 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.7: +27 -15 lines
Diff to previous 1.7
Changes to fix a bug where the server wouldn't send queueStat packets if the
client had set a hostlist.

Revision 1.7 - (view) (annotate) - [select for diffs]
Mon Feb 26 23:41:35 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.6: +7 -7 lines
Diff to previous 1.6
Oh, some nasty concurrency stuff going on in here. If I've understood the API
correctly what I've done should make the Lists's and Map's thread safe, without
worrying about synchronize() bits everywhere.

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

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

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

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

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

Revision 1.1 - (view) (annotate) - [select for diffs]
Tue Jan 23 16:55:23 2001 UTC (23 years, 4 months ago) by tdb
Branch: MAIN
Initial Checkin. This class sends XML packets to those clients that have shown
interest in receiving it. This should make using the client more scalable.

Convenience Links

Links to HEAD: (view) (annotate) Links to SERVER_PIRCBOT: (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