void Shutdown();
+ long getPID();
+
} ;
/*! \brief Interface of the %containerManager
in ResPolicy policy,
in CompoList componentList );
- oneway void ShutdownWithExit();
-
void ShutdownContainers();
- long getPID();
-
} ;
/*! \brief Interface of the %resourcesManager
_NS->Destroy_Name(_ContainerManagerNameInNS);
PortableServer::ObjectId_var oid = _poa->servant_to_id(this);
_poa->deactivate_object(oid);
- _remove_ref();
-}
-
-//=============================================================================
-/*! CORBA method:
- * shutdown the ContainerManager servant and kill the ContainerManager process
- */
-//=============================================================================
-void SALOME_ContainerManager::ShutdownWithExit()
-{
- MESSAGE("ShutdownWithExit");
- if(!CORBA::is_nil(_orb))
- {
- _orb->shutdown(0);
- }
-
- //exit( EXIT_SUCCESS );
+ //_remove_ref();
}
//=============================================================================
}
}
-//=============================================================================
-/*! CORBA Method:
- * Returns the PID of the container manager
- */
-//=============================================================================
-CORBA::Long SALOME_ContainerManager::getPID()
-{
- return (CORBA::Long)getpid();
-}
-
//=============================================================================
/*! CORBA Method:
* Find a suitable Container in a list of machines, or start one
const Engines::CompoList& componentList);
void Shutdown();
- void ShutdownWithExit();
void ShutdownContainers();
- CORBA::Long getPID();
-
static const char *_ContainerManagerNameInNS;
// Parallel extension
_ResManager->Shutdown();
PortableServer::ObjectId_var oid = _poa->servant_to_id(this);
_poa->deactivate_object(oid);
- _remove_ref();
+ //_remove_ref();
if(!CORBA::is_nil(_orb))
_orb->shutdown(0);
}
+//=============================================================================
+/*! CORBA Method:
+ * Returns the PID of the process
+ */
+//=============================================================================
+CORBA::Long SALOME_Launcher::getPID()
+{
+ return (CORBA::Long)getpid();
+}
+
//=============================================================================
/*! CORBA Method:
* Submit a batch job on a cluster and returns the JobId
void Shutdown();
+ CORBA::Long getPID();
+
static const char *_LauncherNameInNS;
protected:
/*!
* Standard constructor, parse resource file.
* - if ${APPLI} exists in environment,
- * look for ${HOME}/*{APPLI}/CatalogResources.xml
+ * look for ${HOME}/${APPLI}/CatalogResources.xml
* - else look for default:
* ${KERNEL_ROOT_DIR}/share/salome/resources/kernel/CatalogResources.xml
* - parse XML resource file.
_NS->Destroy_Name(_ResourcesManagerNameInNS);
PortableServer::ObjectId_var oid = _poa->servant_to_id(this);
_poa->deactivate_object(oid);
- _remove_ref();
+ //_remove_ref();
}
//=============================================================================