ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/filter/TCPReaderInit.java
Revision 1.25 - (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.24: +8 -8 lines
Diff to previous 1.24
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.24 - (view) (annotate) - [select for diffs]
Wed Mar 14 23:25:29 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
CVS Tags: PROJECT_COMPLETION
Changes since 1.23: +8 -8 lines
Diff to previous 1.23
The whole server package structure has been changed.
Old Package: uk.ac.ukc.iscream.*
New Package: uk.org.iscream.*

Revision 1.23 - (view) (annotate) - [select for diffs]
Tue Mar 13 16:46:13 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22
Opps, seems a protocol error managed to creep in.

Revision 1.22 - (view) (annotate) - [select for diffs]
Tue Mar 13 16:25:57 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.21: +43 -31 lines
Diff to previous 1.21
Modified to use the ConfigurationProxy. Also took the opportunity to fix some of
the issues with TCP communicates - specifically checking for nulls. This makes
the configuration more dynamic, but do note that the TCP/UDP ports are only set
on startup. This is because it would require lots of extra work to "change" the
ports that the Filter is bound to on the fly.

Revision 1.21 - (view) (annotate) - [select for diffs]
Tue Mar 13 02:19:46 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.20: +5 -2 lines
Diff to previous 1.20
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.20 - (view) (annotate) - [select for diffs]
Sun Mar 4 05:24:08 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19
Seem to be getting a lot of ERROR logs from this class. Maybe this will help
us identify exactly what is happening.

Revision 1.19 - (view) (annotate) - [select for diffs]
Wed Feb 28 11:12:56 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.18: +4 -4 lines
Diff to previous 1.18
Send heartbeat packets with lowercase hostname.

Revision 1.18 - (view) (annotate) - [select for diffs]
Mon Feb 12 00:35:03 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17
Ah, that time should be in seconds really. Hopefully this will confuse
something that wasn't conforming :-)

Revision 1.17 - (view) (annotate) - [select for diffs]
Sun Feb 11 20:35:26 2001 UTC (23 years, 3 months ago) by ajm
Branch: MAIN
Changes since 1.16: +4 -3 lines
Diff to previous 1.16
added a line of logging

Revision 1.16 - (view) (annotate) - [select for diffs]
Sun Feb 11 18:01:43 2001 UTC (23 years, 3 months ago) by ajm
Branch: MAIN
Changes since 1.15: +9 -3 lines
Diff to previous 1.15
initial checkin of the service check functionality

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

Revision 1.14 - (view) (annotate) - [select for diffs]
Thu Feb 1 00:18:42 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13
General tidy up, specifically focussing on the verbosity of logging messages.

Revision 1.13 - (view) (annotate) - [select for diffs]
Sun Jan 28 05:34:38 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.12: +17 -4 lines
Diff to previous 1.12
Some tidying up.

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

Revision 1.11 - (view) (annotate) - [select for diffs]
Fri Jan 12 00:45:25 2001 UTC (23 years, 4 months ago) by tdb
Branch: MAIN
Changes since 1.10: +7 -8 lines
Diff to previous 1.10
A structural change to the Filter.

The old setup looked like this;

UDPReader ------> FilterThread (thread) --> (parent)
TCPReader ------> FilterThread (thread) --> (parent)
FilterServant --> FilterThread (thread) --> (parent)

Seeing this from a threaded point of view, each time a packet came in (through
whatever means - UDP, TCP or CORBA), a FilterThread instance was created to
deal with it. If the link to the parent was slow this resulting in a build-up
of FilterThreads all waiting to talk to the parent - and there is only one
actual parent object, with a synchronised thread, so they have to queue up
anyway.

As a result of this, the following change has been made.

UDPReader -------\
TCPReader ----------> Queue (single) >-- FilterThread --> (parent)
FilterServant ---/

In this setup, each of the three objects that generate packets only see the
single instance of a Queue. They all add their data to this Queue, and then
carry on with the task of listening. The FilterThread (having it's role changed
slightly) now acts as a consumer of the Queue, in that it grabs data from the
Queue and deals with passing it on to the parent.

This setup should be more efficient in the long run, especially under a high
load situation. The only problem could be the Queue growing to an unlimited
size, but this is a Queue design issue.

Revision 1.10 - (view) (annotate) - [select for diffs]
Wed Dec 13 13:36:46 2000 UTC (23 years, 5 months ago) by ajm
Branch: MAIN
Changes since 1.9: +47 -11 lines
Diff to previous 1.9
componenterized the filter and tidied all child classes, no all conform to toString standard

Revision 1.9 - (view) (annotate) - [select for diffs]
Thu Nov 30 02:38:09 2000 UTC (23 years, 5 months ago) by ajm
Branch: MAIN
Branch point for: SERVER_PACKAGEBUILD
Changes since 1.8: +4 -4 lines
Diff to previous 1.8
Changed package structure
uk.ac.ukc.iscream.refman and xml -> uk.ac.ukc.iscream.util

Revision 1.8 - (view) (annotate) - [select for diffs]
Thu Nov 30 02:00:55 2000 UTC (23 years, 5 months ago) by tdb
Branch: MAIN
Changes since 1.7: +12 -14 lines
Diff to previous 1.7
Changed all classes so that references to the Logger and ConfigurationManager
are no longer passed around between classes. All of the classes now utilise
the new ReferenceManager, which makes life much easier.
Also tidied everything so that they all use the same conventions for attributes,
namely the _ prefix to the name.

Revision 1.7 - (view) (annotate) - [select for diffs]
Wed Nov 29 21:27:39 2000 UTC (23 years, 5 months ago) by ajm
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6
Update for package move.
Fixed bug in constructors.

Revision 1.6 - (view) (annotate) - [select for diffs]
Wed Nov 29 20:59:09 2000 UTC (23 years, 5 months ago) by tdb
Branch: MAIN
Changes since 1.5: +9 -3 lines
Diff to previous 1.5
Added the heartbeat packet being sent.

Revision 1.5 - (view) (annotate) - [select for diffs]
Wed Nov 29 19:26:00 2000 UTC (23 years, 5 months ago) by tdb
Branch: MAIN
Changes since 1.4: +3 -2 lines
Diff to previous 1.4
Made changes to fit into the new package structure. Also made all classes, namely
the UDPReader and FilterThread, conform to the Template class specification.

Revision 1.4 - (view) (annotate) - [select for diffs]
Wed Nov 29 01:23:28 2000 UTC (23 years, 5 months ago) by tdb
Branch: MAIN
Changes since 1.3: +4 -2 lines
Diff to previous 1.3
Just added a reminder :)

Revision 1.3 - (view) (annotate) - [select for diffs]
Mon Nov 27 21:48:44 2000 UTC (23 years, 5 months ago) by tdb
Branch: MAIN
Changes since 1.2: +53 -2 lines
Diff to previous 1.2
Added the functionality.

Revision 1.2 - (view) (annotate) - [select for diffs]
Mon Nov 27 10:23:32 2000 UTC (23 years, 5 months ago) by tdb
Branch: MAIN
Changes since 1.1: +3 -101 lines
Diff to previous 1.1
Took out the old code. Just need to add the new bits.

Revision 1.1 - (view) (annotate) - [select for diffs]
Mon Nov 27 00:43:26 2000 UTC (23 years, 5 months ago) by tdb
Branch: MAIN
TCPReader - will perform heartbeat functions. This class only listens, it runs
a TCPReaderInit thread to do the actual work.

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