| 1 |  | // | 
 
 
 
 
 
 
 
 | 2 | + | // i-scream central monitoring system | 
 
 
 
 
 
 
 
 | 3 | + | // http://www.i-scream.org.uk | 
 
 
 
 
 
 
 
 | 4 | + | // Copyright (C) 2000-2002 i-scream | 
 
 
 
 
 
 
 
 | 5 | + | // | 
 
 
 
 
 
 
 
 | 6 | + | // This program is free software; you can redistribute it and/or | 
 
 
 
 
 
 
 
 | 7 | + | // modify it under the terms of the GNU General Public License | 
 
 
 
 
 
 
 
 | 8 | + | // as published by the Free Software Foundation; either version 2 | 
 
 
 
 
 
 
 
 | 9 | + | // of the License, or (at your option) any later version. | 
 
 
 
 
 
 
 
 | 10 | + | // | 
 
 
 
 
 
 
 
 | 11 | + | // This program is distributed in the hope that it will be useful, | 
 
 
 
 
 
 
 
 | 12 | + | // but WITHOUT ANY WARRANTY; without even the implied warranty of | 
 
 
 
 
 
 
 
 | 13 | + | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
 
 
 
 
 
 
 
 | 14 | + | // GNU General Public License for more details. | 
 
 
 
 
 
 
 
 | 15 | + | // | 
 
 
 
 
 
 
 
 | 16 | + | // You should have received a copy of the GNU General Public License | 
 
 
 
 
 
 
 
 | 17 | + | // along with this program; if not, write to the Free Software | 
 
 
 
 
 
 
 
 | 18 | + | // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. | 
 
 
 
 
 
 
 
 | 19 | + | // | 
 
 
 
 
 
 
 
 | 20 | + |  | 
 
 
 
 
 
 
 
 | 21 | + | // | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 22 |  | // This class provides infomation about the CORBA | 
 
 
 
 
 
 
 
 
 
 
 | 23 | < | // interface for the server side of the I-Scream system. | 
 
 
 
 
 
 
 
 
 | 23 | > | // interface for the server side of the i-scream system. | 
 
 
 
 
 
 
 
 
 
 
 | 24 |  | // | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 25 |  | // $Id$ | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 26 |  | // | 
 
 
 
 
 
 
 
 
 
 
 | 27 | < | module uk { module ac { module ukc { module iscream { | 
 
 
 
 
 
 
 
 
 | 27 | > | module uk { module org { module iscream { module cms { module server { | 
 
 
 
 
 
 
 
 
 
 
 | 28 |  | module core { | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 29 |  |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 30 |  | // The Logger interface, provides a corba object that | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 46 |  | string getProperty(in string key); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 47 |  | long long getLastModified(); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 48 |  | string getFileList(); | 
 
 
 
 
 
 
 
 | 49 | + | void disconnect(); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 50 |  | }; | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 51 |  |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 52 |  | // The ConfigurationManager interface, provides a CORBA object that | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 62 |  | module filter { | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 63 |  | interface Filter { | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 64 |  | void receiveXML(in string xml); | 
 
 
 
 
 
 
 
 | 65 | + | }; | 
 
 
 
 
 
 
 
 | 66 | + | interface FilterInfo { | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 67 |  | string getHostName(); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 68 |  | string getUDPPort(); | 
 
 
 
 
 
 
 
 
 | 46 | – | string getTCPPort(); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 69 |  | }; | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 70 |  |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 71 |  | // end filter | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 72 |  | }; | 
 
 
 
 
 
 
 
 | 73 | + |  | 
 
 
 
 
 
 
 
 | 74 | + | module client { | 
 
 
 
 
 
 
 
 | 75 | + | interface Client { | 
 
 
 
 
 
 
 
 | 76 | + | void receiveXML(in string xml); | 
 
 
 
 
 
 
 
 | 77 | + | }; | 
 
 
 
 
 
 
 
 | 78 | + | // end client | 
 
 
 
 
 
 
 
 | 79 | + | }; | 
 
 
 
 
 
 
 
 | 80 | + |  | 
 
 
 
 
 
 
 
 | 81 | + | module clientinterface { | 
 
 
 
 
 
 
 
 | 82 | + | interface ClientInterface { | 
 
 
 
 
 
 
 
 | 83 | + | void receiveXML(in string xml); | 
 
 
 
 
 
 
 
 | 84 | + | }; | 
 
 
 
 
 
 
 
 | 85 | + | interface CorbaControlHandler { | 
 
 
 
 
 
 
 
 | 86 | + | boolean startData(); | 
 
 
 
 
 
 
 
 | 87 | + | boolean stopData(); | 
 
 
 
 
 
 
 
 | 88 | + | boolean setHostList(in string hostList); | 
 
 
 
 
 
 
 
 | 89 | + | void disconnect(); | 
 
 
 
 
 
 
 
 | 90 | + | }; | 
 
 
 
 
 
 
 
 | 91 | + | interface CorbaClientListener { | 
 
 
 
 
 
 
 
 | 92 | + | CorbaControlHandler connect(in client::Client client, in string name); | 
 
 
 
 
 
 
 
 | 93 | + | }; | 
 
 
 
 
 
 
 
 | 94 | + | // end clientinterface | 
 
 
 
 
 
 
 
 | 95 | + | }; | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 96 |  |  | 
 
 
 
 
 
 
 
 
 
 
 | 97 | < | // end ac.uk.ukc.iscream | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 98 | < | };};};}; | 
 
 
 
 
 
 
 
 
 | 97 | > | // end uk.org.iscream.cms.server | 
 
 
 
 
 | 98 | > | };};};};}; |