ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/idl/iscream.idl
Revision: 1.21
Committed: Sat May 18 18:16:00 2002 UTC (22 years, 6 months ago) by tdb
Branch: MAIN
Changes since 1.20: +20 -1 lines
Log Message:
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 ;)

File Contents

# User Rev Content
1 tdb 1.1 //
2 tdb 1.21 // i-scream central monitoring system
3     // Copyright (C) 2000-2002 i-scream
4     //
5     // This program is free software; you can redistribute it and/or
6     // modify it under the terms of the GNU General Public License
7     // as published by the Free Software Foundation; either version 2
8     // of the License, or (at your option) any later version.
9     //
10     // This program is distributed in the hope that it will be useful,
11     // but WITHOUT ANY WARRANTY; without even the implied warranty of
12     // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13     // GNU General Public License for more details.
14     //
15     // You should have received a copy of the GNU General Public License
16     // along with this program; if not, write to the Free Software
17     // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18     //
19    
20     //
21 tdb 1.1 // This class provides infomation about the CORBA
22 tdb 1.19 // interface for the server side of the i-scream system.
23 tdb 1.1 //
24 tdb 1.21 // $Id: iscream.idl,v 1.20 2002/03/22 10:43:06 tdb Exp $
25 tdb 1.1 //
26 tdb 1.19 module uk { module org { module iscream { module cms { module server {
27 tdb 1.1 module core {
28    
29     // The Logger interface, provides a corba object that
30     // all classes can use to log system and error information.
31     interface Logger {
32 tdb 1.2 void write(in string source, in long verbosity, in string message);
33 tdb 1.3 // Verbosity levels
34     const long FATAL=0;
35     const long ERROR=1;
36     const long WARNING=2;
37     const long SYSMSG=3;
38     const long SYSINIT=4;
39     const long DEBUG=5;
40 tdb 1.1 };
41    
42     // The Configuration interface, provides a CORBA object that
43     // all classes can use to get their configuration.
44     interface Configuration {
45     string getProperty(in string key);
46     long long getLastModified();
47 tdb 1.7 string getFileList();
48 tdb 1.16 void disconnect();
49 tdb 1.1 };
50    
51 tdb 1.5 // The ConfigurationManager interface, provides a CORBA object that
52 tdb 1.1 // all classes can use to obtain their individual configuration.
53 ajm 1.4 interface ConfigurationManager {
54 tdb 1.1 Configuration getConfiguration(in string source);
55     boolean isModified(in string source, in long long currentModified);
56     };
57    
58     // end core
59     };
60    
61     module filter {
62 tdb 1.8 interface Filter {
63     void receiveXML(in string xml);
64 tdb 1.20 };
65     interface FilterInfo {
66 tdb 1.9 string getHostName();
67     string getUDPPort();
68     string getTCPPort();
69 tdb 1.8 };
70 tdb 1.9
71 tdb 1.1 // end filter
72 tdb 1.11 };
73    
74 tdb 1.13 module client {
75     interface Client {
76     void receiveXML(in string xml);
77     };
78     // end client
79     };
80    
81 tdb 1.11 module clientinterface {
82     interface ClientInterface {
83     void receiveXML(in string xml);
84     };
85 tdb 1.14 interface CorbaControlHandler {
86 tdb 1.13 boolean startData();
87     boolean stopData();
88 tdb 1.12 boolean setHostList(in string hostList);
89 tdb 1.17 void disconnect();
90 tdb 1.12 };
91     interface CorbaClientListener {
92 tdb 1.15 CorbaControlHandler connect(in client::Client client, in string name);
93 tdb 1.12 };
94     // end clientinterface
95 tdb 1.1 };
96    
97 tdb 1.20 // end uk.org.iscream.cms.server
98 tdb 1.19 };};};};};