--- projects/cms/source/server/idl/iscream.idl 2000/11/16 15:23:35 1.2 +++ projects/cms/source/server/idl/iscream.idl 2004/08/01 10:40:40 1.25 @@ -1,16 +1,43 @@ // +// i-scream central monitoring system +// http://www.i-scream.org +// Copyright (C) 2000-2002 i-scream +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// + +// // 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.25 2004/08/01 10:40:40 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 +45,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 +60,32 @@ 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(); + }; // end filter }; + + module clientinterface { + interface Client { + 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, in string name); + }; + // end clientinterface + }; -// end ac.uk.ukc.iscream -};};};}; +// end uk.org.iscream.cms.server +};};};};};