ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/idl/Makefile
Revision: 1.13
Committed: Mon May 5 22:05:01 2003 UTC (21 years ago) by tdb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +1 -2 lines
Log Message:
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.

File Contents

# User Rev Content
1 tdb 1.1 # Makefile for idl
2 tdb 1.13 # $Id: Makefile,v 1.12 2003/02/01 19:08:54 tdb Exp $
3 tdb 1.2
4     include ../Config.inc
5 tdb 1.1
6     IDLFILES = uk
7    
8 tdb 1.12 .PHONY : all
9 tdb 1.2 all : build
10 tdb 1.1
11 tdb 1.12 .PHONY : idl
12     idl : iscream.idl
13 tdb 1.10 java -classpath $(BUILD)/lib/idl.jar org.jacorb.idl.parser -sloppy_names iscream.idl
14 tdb 1.2
15 tdb 1.12 .PHONY : build
16     build : idl
17 tdb 1.9 cd uk/org/iscream/cms/server/clientinterface && javac $(JCFLAGS) -classpath $(JCCLASSPATH) -d $(BUILD) *.java
18     cd uk/org/iscream/cms/server/core && javac $(JCFLAGS) -classpath $(JCCLASSPATH) -d $(BUILD) *.java
19     cd uk/org/iscream/cms/server/filter && javac $(JCFLAGS) -classpath $(JCCLASSPATH) -d $(BUILD) *.java
20 tdb 1.12 @touch $(IDLCHECK)
21     @rm -f $(MCOMPILECHECK)
22 tdb 1.1
23 tdb 1.12 .PHONY : clean
24 tdb 1.1 clean :
25     rm -Rf $(IDLFILES)
26 tdb 1.2 rm -f $(IDLCHECK)
27 tdb 1.1
28 tdb 1.11 include $(MKINC)