mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-05 02:14:17 +05:00
Fix padder in SSL mode reviewed
This commit is contained in:
parent
5eada3cfb1
commit
526e921765
@ -715,7 +715,13 @@ extern "C"
|
|||||||
const char *interfaceName)
|
const char *interfaceName)
|
||||||
{
|
{
|
||||||
LOG("PortableServer::ObjectId * MeshJobManagerEngine_factory()");
|
LOG("PortableServer::ObjectId * MeshJobManagerEngine_factory()");
|
||||||
MeshJobManager_i * myEngine = new MeshJobManager_i(orb, poa, contId, instanceName, interfaceName);
|
MeshJobManager_i * myEngine = nullptr;
|
||||||
|
CORBA::Object_var o = poa->id_to_reference(*contId);
|
||||||
|
Engines::Container_var cont = Engines::Container::_narrow(o);
|
||||||
|
if(cont->is_SSL_mode())
|
||||||
|
myEngine = new MeshJobManager_i(orb, poa, contId, instanceName, interfaceName, false, false);
|
||||||
|
else
|
||||||
|
myEngine = new MeshJobManager_i(orb, poa, contId, instanceName, interfaceName, true, true);
|
||||||
return myEngine->getId() ;
|
return myEngine->getId() ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user