10 |
|
// The Logger interface, provides a corba object that |
11 |
|
// all classes can use to log system and error information. |
12 |
|
interface Logger { |
13 |
< |
void write(in string source, in string message); |
14 |
< |
void writeToConsole(in string source, in string message); |
13 |
> |
void write(in string source, in long verbosity, in string message); |
14 |
> |
// 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 |
|
}; |
22 |
|
|
23 |
|
// The Configuration interface, provides a CORBA object that |
25 |
|
interface Configuration { |
26 |
|
string getProperty(in string key); |
27 |
|
long long getLastModified(); |
28 |
< |
|
28 |
> |
string getFileList(); |
29 |
> |
void disconnect(); |
30 |
|
}; |
31 |
|
|
32 |
< |
// The Configurator interface, provides a CORBA object that |
32 |
> |
// The ConfigurationManager interface, provides a CORBA object that |
33 |
|
// all classes can use to obtain their individual configuration. |
34 |
< |
interface Configurator { |
34 |
> |
interface ConfigurationManager { |
35 |
|
Configuration getConfiguration(in string source); |
36 |
|
boolean isModified(in string source, in long long currentModified); |
37 |
|
}; |
40 |
|
}; |
41 |
|
|
42 |
|
module filter { |
43 |
< |
interface FilterManager { |
44 |
< |
|
43 |
> |
interface Filter { |
44 |
> |
void receiveXML(in string xml); |
45 |
> |
string getHostName(); |
46 |
> |
string getUDPPort(); |
47 |
> |
string getTCPPort(); |
48 |
|
}; |
49 |
|
|
50 |
|
// end filter |
51 |
|
}; |
52 |
+ |
|
53 |
+ |
module client { |
54 |
+ |
interface Client { |
55 |
+ |
void receiveXML(in string xml); |
56 |
+ |
}; |
57 |
+ |
// end client |
58 |
+ |
}; |
59 |
+ |
|
60 |
+ |
module clientinterface { |
61 |
+ |
interface ClientInterface { |
62 |
+ |
void receiveXML(in string xml); |
63 |
+ |
}; |
64 |
+ |
interface CorbaControlHandler { |
65 |
+ |
boolean startData(); |
66 |
+ |
boolean stopData(); |
67 |
+ |
boolean setHostList(in string hostList); |
68 |
+ |
void disconnect(); |
69 |
+ |
}; |
70 |
+ |
interface CorbaClientListener { |
71 |
+ |
CorbaControlHandler connect(in client::Client client, in string name); |
72 |
+ |
}; |
73 |
+ |
// end clientinterface |
74 |
+ |
}; |
75 |
|
|
76 |
< |
// end ac.uk.ukc.iscream |
77 |
< |
};};};}; |
76 |
> |
// end uk.ac.ukc.iscream |
77 |
> |
};};};}; |