1 |
tdb |
1.1 |
// |
2 |
|
|
// This class provides infomation about the CORBA |
3 |
tdb |
1.19 |
// interface for the server side of the i-scream system. |
4 |
tdb |
1.1 |
// |
5 |
tdb |
1.20 |
// $Id: iscream.idl,v 1.19 2001/05/29 17:02:34 tdb1 Exp $ |
6 |
tdb |
1.1 |
// |
7 |
tdb |
1.19 |
module uk { module org { module iscream { module cms { module server { |
8 |
tdb |
1.1 |
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.16 |
void disconnect(); |
30 |
tdb |
1.1 |
}; |
31 |
|
|
|
32 |
tdb |
1.5 |
// The ConfigurationManager interface, provides a CORBA object that |
33 |
tdb |
1.1 |
// all classes can use to obtain their individual configuration. |
34 |
ajm |
1.4 |
interface ConfigurationManager { |
35 |
tdb |
1.1 |
Configuration getConfiguration(in string source); |
36 |
|
|
boolean isModified(in string source, in long long currentModified); |
37 |
|
|
}; |
38 |
|
|
|
39 |
|
|
// end core |
40 |
|
|
}; |
41 |
|
|
|
42 |
|
|
module filter { |
43 |
tdb |
1.8 |
interface Filter { |
44 |
|
|
void receiveXML(in string xml); |
45 |
tdb |
1.20 |
}; |
46 |
|
|
interface FilterInfo { |
47 |
tdb |
1.9 |
string getHostName(); |
48 |
|
|
string getUDPPort(); |
49 |
|
|
string getTCPPort(); |
50 |
tdb |
1.8 |
}; |
51 |
tdb |
1.9 |
|
52 |
tdb |
1.1 |
// end filter |
53 |
tdb |
1.11 |
}; |
54 |
|
|
|
55 |
tdb |
1.13 |
module client { |
56 |
|
|
interface Client { |
57 |
|
|
void receiveXML(in string xml); |
58 |
|
|
}; |
59 |
|
|
// end client |
60 |
|
|
}; |
61 |
|
|
|
62 |
tdb |
1.11 |
module clientinterface { |
63 |
|
|
interface ClientInterface { |
64 |
|
|
void receiveXML(in string xml); |
65 |
|
|
}; |
66 |
tdb |
1.14 |
interface CorbaControlHandler { |
67 |
tdb |
1.13 |
boolean startData(); |
68 |
|
|
boolean stopData(); |
69 |
tdb |
1.12 |
boolean setHostList(in string hostList); |
70 |
tdb |
1.17 |
void disconnect(); |
71 |
tdb |
1.12 |
}; |
72 |
|
|
interface CorbaClientListener { |
73 |
tdb |
1.15 |
CorbaControlHandler connect(in client::Client client, in string name); |
74 |
tdb |
1.12 |
}; |
75 |
|
|
// end clientinterface |
76 |
tdb |
1.1 |
}; |
77 |
|
|
|
78 |
tdb |
1.20 |
// end uk.org.iscream.cms.server |
79 |
tdb |
1.19 |
};};};};}; |