-using namespace std;
-//=============================================================================
-// File : SALOME_Registry_Server.cxx
-// Created : Mon Nov 5 17:26:23 CET 2001
-// Author : Pascale NOYRET - Antoine YESSAYAN, EDF
-// Project : SALOME
-// Copyright : EDF 2001
-// $Header$
-//=============================================================================
+// SALOME Registry : Registry server implementation
+//
+// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License.
+//
+// This library 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
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+//
+//
+//
+// File : SALOME_Registry_Server.cxx
+// Author : Pascale NOYRET - Antoine YESSAYAN, EDF
+// Module : SALOME
+// $Header$
+using namespace std;
# include <stdlib.h>
# include <iostream.h>
# include <fstream.h>
# include "SALOME_NamingService.hxx"
# include "RegistryService.hxx"
+//#define CHECKTIME
+#ifdef CHECKTIME
+#include <Utils_Timer.hxx>
+#endif
+
int main( int argc , char **argv )
{
BEGIN_OF( argv[0] )
// Lancement de l'ORB
MESSAGE("Lancement de l'ORB") ;
+#ifdef CHECKTIME
+ Utils_Timer timer;
+ timer.Start();
+ timer.Stop();
+ MESSAGE("SALOME_Registry_Server.cxx - orb->run()");
+ timer.ShowAbsolute();
+#endif
orb->run() ;
}
catch( const CORBA::Exception &ex )