ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/idl/iscream.idl
Revision: 1.13
Committed: Sat Feb 3 00:44:28 2001 UTC (23 years, 9 months ago) by tdb
Branch: MAIN
Changes since 1.12: +11 -4 lines
Log Message:
Added the bits for the CORBA stuff in the ClientInterface, and a skelton for
new Clients.

File Contents

# User Rev Content
1 tdb 1.1 //
2     // This class provides infomation about the CORBA
3     // interface for the server side of the I-Scream system.
4     //
5 tdb 1.13 // $Id: iscream.idl,v 1.12 2001/02/01 01:20:16 tdb1 Exp $
6 tdb 1.1 //
7     module uk { module ac { module ukc { module iscream {
8     module core {
9    
10     // The Logger interface, provides a corba object that
11     // all classes can use to log system and error information.
12     interface Logger {
13 tdb 1.2 void write(in string source, in long verbosity, in string message);
14 tdb 1.3 // Verbosity levels
15     const long FATAL=0;
16     const long ERROR=1;
17     const long WARNING=2;
18     const long SYSMSG=3;
19     const long SYSINIT=4;
20     const long DEBUG=5;
21 tdb 1.1 };
22    
23     // The Configuration interface, provides a CORBA object that
24     // all classes can use to get their configuration.
25     interface Configuration {
26     string getProperty(in string key);
27     long long getLastModified();
28 tdb 1.7 string getFileList();
29 tdb 1.1 };
30    
31 tdb 1.5 // The ConfigurationManager interface, provides a CORBA object that
32 tdb 1.1 // all classes can use to obtain their individual configuration.
33 ajm 1.4 interface ConfigurationManager {
34 tdb 1.1 Configuration getConfiguration(in string source);
35     boolean isModified(in string source, in long long currentModified);
36     };
37    
38     // end core
39     };
40    
41     module filter {
42 tdb 1.8 interface Filter {
43     void receiveXML(in string xml);
44 tdb 1.9 string getHostName();
45     string getUDPPort();
46     string getTCPPort();
47 tdb 1.8 };
48 tdb 1.9
49 tdb 1.1 // end filter
50 tdb 1.11 };
51    
52 tdb 1.13 module client {
53     interface Client {
54     void receiveXML(in string xml);
55     };
56     // end client
57     };
58    
59 tdb 1.11 module clientinterface {
60     interface ClientInterface {
61     void receiveXML(in string xml);
62     };
63 tdb 1.12 interface CorbaHandler {
64 tdb 1.13 boolean startData();
65     boolean stopData();
66 tdb 1.12 boolean setHostList(in string hostList);
67     };
68     interface CorbaClientListener {
69 tdb 1.13 CorbaHandler connect(in string name, in client::Client client);
70 tdb 1.12 };
71     // end clientinterface
72 tdb 1.1 };
73    
74 tdb 1.10 // end uk.ac.ukc.iscream
75 tdb 1.12 };};};};