Salome HOME
Fix compilation pb.
[modules/kernel.git] / src / Registry / RegistryService.hxx
index 21b31b6f55f0a2edc492b3bc3554793429f61420..9b26f41f8b6357a5eb8b6766dfc5d310db3683d6 100644 (file)
@@ -72,6 +72,7 @@ public :
        virtual ~RegistryService(void);
 
         void ping();
+        CORBA::Long getPID();
        virtual CORBA::ULong add (const Registry::Infos & infos);
        virtual CORBA::ULong size ( void );
 #ifndef WNT
@@ -88,9 +89,13 @@ public :
 
        void SessionName( const char *sessionName ) ;
 
+        void SetOrb( CORBA::ORB_ptr orb ) { _orb = orb; return; }
+
+        void Shutdown() { if(!CORBA::is_nil(_orb)) _orb->shutdown(0); }
 
 protected :
 
+        CORBA::ORB_var _orb;
        const char              *_SessionName ;
        int                      _Compteur ;
        std::map<int,client_infos *>     _reg ;