Container StartContainer( in MachineParameters params,
in ResPolicy policy);
- string FindBest(in MachineList possibleComputers);
+ string FindFirst(in MachineList possibleComputers);
MachineList GetFittingResources( in MachineParameters params,
in string componentName )
char*
SALOME_ContainerManager::
-FindBest(const Engines::MachineList& possibleComputers)
+FindFirst(const Engines::MachineList& possibleComputers)
{
- string theMachine=_ResManager->FindBest(possibleComputers);
+ string theMachine=_ResManager->FindFirst(possibleComputers);
return CORBA::string_dup(theMachine.c_str());
}
GetFittingResources(const Engines::MachineParameters& params,
const char *componentName);
- char* FindBest(const Engines::MachineList& possibleComputers);
+ char* FindFirst(const Engines::MachineList& possibleComputers);
void Shutdown();
void ShutdownContainers();
pass
pass
if len(machinesOK)!=0:
- bestMachine=self._contManager.FindBest(machinesOK)
+ bestMachine=self._contManager.FindFirst(machinesOK)
componentNameForNS= [CosNaming.NameComponent(bestMachine,"dir"),
CosNaming.NameComponent(containerName,"dir"),
CosNaming.NameComponent(componentName,"object")]
else:
return None
else:
- bestMachine=self._contManager.FindBest(listOfMachines)
+ bestMachine=self._contManager.FindFirst(listOfMachines)
MESSAGE("Not implemented yet ...")
return None
pass
if(lghtOfmachinesOK != 0)
{
machinesOK->length(lghtOfmachinesOK);
- CORBA::String_var bestMachine = _ContManager->FindBest(machinesOK);
+ CORBA::String_var bestMachine = _ContManager->FindFirst(machinesOK);
CORBA::Object_var obj = _NS->ResolveComponent(bestMachine,
containerName,
componentName,