--- projects/cms/source/server/idl/iscream.idl 2000/11/16 15:23:35 1.2 +++ projects/cms/source/server/idl/iscream.idl 2002/03/22 10:43:06 1.20 @@ -1,16 +1,23 @@ // // This class provides infomation about the CORBA -// interface for the server side of the I-Scream system. +// interface for the server side of the i-scream system. // -// $Id: iscream.idl,v 1.2 2000/11/16 15:23:35 tdb Exp $ +// $Id: iscream.idl,v 1.20 2002/03/22 10:43:06 tdb Exp $ // -module uk { module ac { module ukc { module iscream { +module uk { module org { module iscream { module cms { module server { module core { // 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 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 @@ -18,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); }; @@ -32,12 +40,40 @@ module uk { module ac { module ukc { module iscream { }; module filter { - interface FilterManager { - + interface Filter { + void receiveXML(in string xml); }; + interface FilterInfo { + 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 -};};};}; +// end uk.org.iscream.cms.server +};};};};};