| 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 |
|
}; |
| 30 |
|
|
| 31 |
< |
// The Configurator interface, provides a CORBA object that |
| 31 |
> |
// The ConfigurationManager interface, provides a CORBA object that |
| 32 |
|
// all classes can use to obtain their individual configuration. |
| 33 |
< |
interface Configurator { |
| 33 |
> |
interface ConfigurationManager { |
| 34 |
|
Configuration getConfiguration(in string source); |
| 35 |
|
boolean isModified(in string source, in long long currentModified); |
| 36 |
|
}; |
| 39 |
|
}; |
| 40 |
|
|
| 41 |
|
module filter { |
| 42 |
< |
interface FilterManager { |
| 43 |
< |
|
| 42 |
> |
interface Filter { |
| 43 |
> |
void receiveXML(in string xml); |
| 44 |
> |
string getHostName(); |
| 45 |
> |
string getUDPPort(); |
| 46 |
> |
string getTCPPort(); |
| 47 |
|
}; |
| 48 |
|
|
| 49 |
|
// end filter |
| 50 |
|
}; |
| 51 |
+ |
|
| 52 |
+ |
module client { |
| 53 |
+ |
interface Client { |
| 54 |
+ |
void receiveXML(in string xml); |
| 55 |
+ |
}; |
| 56 |
+ |
// end client |
| 57 |
+ |
}; |
| 58 |
+ |
|
| 59 |
+ |
module clientinterface { |
| 60 |
+ |
interface ClientInterface { |
| 61 |
+ |
void receiveXML(in string xml); |
| 62 |
+ |
}; |
| 63 |
+ |
interface CorbaControlHandler { |
| 64 |
+ |
boolean startData(); |
| 65 |
+ |
boolean stopData(); |
| 66 |
+ |
boolean setHostList(in string hostList); |
| 67 |
+ |
}; |
| 68 |
+ |
interface CorbaClientListener { |
| 69 |
+ |
CorbaControlHandler connect(in client::Client client); |
| 70 |
+ |
}; |
| 71 |
+ |
// end clientinterface |
| 72 |
+ |
}; |
| 73 |
|
|
| 74 |
< |
// end ac.uk.ukc.iscream |
| 75 |
< |
};};};}; |
| 74 |
> |
// end uk.ac.ukc.iscream |
| 75 |
> |
};};};}; |