--- projects/cms/source/server/idl/iscream.idl 2000/11/13 16:29:23 1.1 +++ projects/cms/source/server/idl/iscream.idl 2001/03/13 19:14:04 1.17 @@ -2,7 +2,7 @@ // This class provides infomation about the CORBA // interface for the server side of the I-Scream system. // -// $Id: iscream.idl,v 1.1 2000/11/13 16:29:23 tdb Exp $ +// $Id: iscream.idl,v 1.17 2001/03/13 19:14:04 tdb Exp $ // module uk { module ac { module ukc { module iscream { module core { @@ -10,8 +10,14 @@ module uk { module ac { module ukc { module iscream { // The Logger interface, provides a corba object that // all classes can use to log system and error information. interface Logger { - void write(in string source, in string message); - void writeToConsole(in string source, in string message); + void write(in string source, in long verbosity, in string message); + // Verbosity levels + const long FATAL=0; + const long ERROR=1; + const long WARNING=2; + const long SYSMSG=3; + const long SYSINIT=4; + const long DEBUG=5; }; // The Configuration interface, provides a CORBA object that @@ -19,12 +25,13 @@ module uk { module ac { module ukc { module iscream { interface Configuration { string getProperty(in string key); long long getLastModified(); - + string getFileList(); + void disconnect(); }; - // The Configurator interface, provides a CORBA object that + // The ConfigurationManager interface, provides a CORBA object that // all classes can use to obtain their individual configuration. - interface Configurator { + interface ConfigurationManager { Configuration getConfiguration(in string source); boolean isModified(in string source, in long long currentModified); }; @@ -33,12 +40,38 @@ module uk { module ac { module ukc { module iscream { }; module filter { - interface FilterManager { - + interface Filter { + void receiveXML(in string xml); + string getHostName(); + string getUDPPort(); + string getTCPPort(); }; // end filter }; + + module client { + interface Client { + void receiveXML(in string xml); + }; + // end client + }; + + module clientinterface { + interface ClientInterface { + void receiveXML(in string xml); + }; + interface CorbaControlHandler { + boolean startData(); + boolean stopData(); + boolean setHostList(in string hostList); + void disconnect(); + }; + interface CorbaClientListener { + CorbaControlHandler connect(in client::Client client, in string name); + }; + // end clientinterface + }; -// end ac.uk.ukc.iscream -};};};}; \ No newline at end of file +// end uk.ac.ukc.iscream +};};};};