Salome HOME
This commit was generated by cvs2git to track changes on a CVS vendor
[modules/kernel.git] / idl / SALOME_Registry.idl
1 //  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
3 // 
4 //  This library is free software; you can redistribute it and/or 
5 //  modify it under the terms of the GNU Lesser General Public 
6 //  License as published by the Free Software Foundation; either 
7 //  version 2.1 of the License. 
8 // 
9 //  This library is distributed in the hope that it will be useful, 
10 //  but WITHOUT ANY WARRANTY; without even the implied warranty of 
11 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
12 //  Lesser General Public License for more details. 
13 // 
14 //  You should have received a copy of the GNU Lesser General Public 
15 //  License along with this library; if not, write to the Free Software 
16 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
17 // 
18 //  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
19 //
20 //
21 //
22 //  File   : SALOME_Registry.idl
23
24 # ifndef __registry_idl__
25 # define __registry_idl__
26
27 module Registry
28 {
29         struct Infos
30         {
31                 string  name;
32                 long    pid;
33                 string  machine;
34                 string  adip;
35                 long    uid;
36                 string  pwname;
37                 long    tc_start;
38                 long    tc_hello;
39                 long    tc_end;
40                 long    difftime;
41                 string  cdir;
42                 long    status;
43                 string  ior;            //  client 
44         };
45
46         typedef sequence<Infos> AllInfos;
47
48         interface Components
49         {
50                 void ping();
51                 unsigned long add ( in Infos lesInfos ) ;
52                 void remove ( in unsigned long id ) ;
53                 unsigned long size() ;
54                 AllInfos getall () ;
55                 AllInfos history () ;
56                 oneway void end() ;
57                 oneway void hello( in unsigned long id ) ;
58         } ;
59 } ;
60
61 # endif