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/CorbaDataHandler.java
Revision 1.16 - (view) (annotate) - [select for diffs]
Sun Aug 1 10:40:48 2004 UTC (19 years, 9 months ago) by tdb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.15: +3 -3 lines
Diff to previous 1.15
Catch a lot of old URL's and update them. Also remove a couple of old files
that aren't used.

Revision 1.15 - (view) (annotate) - [select for diffs]
Mon May 5 22:05:06 2003 UTC (21 years ago) by tdb
Branch: MAIN
Changes since 1.14: +2 -3 lines
Diff to previous 1.14
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.

Revision 1.14 - (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.13: +4 -4 lines
Diff to previous 1.13
Changed the server to use the external util package. Quite a minor change,
but does affect a lot of files.

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

Revision 1.12 - (view) (annotate) - [select for diffs]
Sat May 18 18:16:01 2002 UTC (21 years, 11 months ago) by tdb
Branch: MAIN
Changes since 1.11: +22 -3 lines
Diff to previous 1.11
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.11 - (view) (annotate) - [select for diffs]
Thu Nov 15 13:45:46 2001 UTC (22 years, 5 months ago) by tdb
Branch: MAIN
Branch point for: SERVER_PIRCBOT
Changes since 1.10: +10 -5 lines
Diff to previous 1.10
It seems just catching org.omg.CORBA.COMM_FAILURE wasn't enough. This used
to work, so I'm putting it down to a change in JacORB. Odd though :)
Without this fix, when a Corba-based client disconnected the Queue's it was
associated with were not closed. This result in the Queue's overflowing and
flagging up some alerts.

Revision 1.10 - (view) (annotate) - [select for diffs]
Tue May 29 17:02:34 2001 UTC (22 years, 11 months ago) by tdb
Branch: MAIN
Changes since 1.9: +8 -8 lines
Diff to previous 1.9
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.9 - (view) (annotate) - [select for diffs]
Fri Mar 16 16:11:31 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
CVS Tags: PROJECT_COMPLETION
Changes since 1.8: +30 -3 lines
Diff to previous 1.8
Implemented Queue size limiting.

Revision 1.8 - (view) (annotate) - [select for diffs]
Fri Mar 16 02:14:40 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.7: +11 -2 lines
Diff to previous 1.7
Added finalizers to the debugging. This could be very useful to know.

Revision 1.7 - (view) (annotate) - [select for diffs]
Fri Mar 16 01:50:36 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.6: +12 -3 lines
Diff to previous 1.6
When a CORBA Client disconnects it is caught in the DataHandler. But this would
leave the ControlHandler just lurking about, so we now explicitly make an effort
to close it down, and disconnect it from the ORB.

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

Revision 1.5 - (view) (annotate) - [select for diffs]
Tue Mar 13 02:19:44 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.4: +5 -2 lines
Diff to previous 1.4
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.4 - (view) (annotate) - [select for diffs]
Mon Feb 26 00:18:41 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.3: +3 -2 lines
Diff to previous 1.3
We need to shutdown the Monitor's when closing down, otherwise the Queue's never
get destroyed... and just sit there idle'ing away :)

Revision 1.3 - (view) (annotate) - [select for diffs]
Mon Feb 5 03:34:04 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.2: +10 -4 lines
Diff to previous 1.2
A bit of error handling. If the client closes "uncleanly" we get this exception
thrown my JacORB.

Revision 1.2 - (view) (annotate) - [select for diffs]
Mon Feb 5 02:54:03 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.1: +4 -3 lines
Diff to previous 1.1
Just a mental reminder really.... this class isn't finished :)

Revision 1.1 - (view) (annotate) - [select for diffs]
Mon Feb 5 00:58:46 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
The original "all in one" class didn't work quite right, so it's been broken
down into two classes; one for control, and one for sending data. The whole lot
functions in a very similar way to the TCP setup, except that communication
happens over CORBA.

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