[Paraview] change server timeout and hide "Output Messages"
Gil Wertz
gilwertz at hotmail.com
Mon Apr 4 09:13:33 EDT 2011
When I try to connect my client to a pvserver and this one is not launched I have this message :
Warning: In /data/wertz/paraview-source/Servers/Common/vtkProcessModuleConnectionManager.cxx, line 299
vtkProcessModuleConnectionManager (0x2a84d10): Connect failed. Retrying for 53.8997 more seconds.
How do I set timeout to 1 second ?
How do I catch those warning without showing "Output Messages" window and from which element/class/manager does it depend ?
When I launch pvserver and connect on it with a client, when I try with a second one I get timeout (because pvserver is not multi-client ), how do I get if the server is not launched or if a client is already connected ?
Thanks.
Code :
QString host = "cs://";
host += given_host;
host += ":";
host += port;
if(m_server)
//if any remote or builtin server, delete them to free ressources
m_object_builder->removeServer(m_server);
//create new remote server
m_server = m_object_builder->createServer(pqServerResource(host)); //here timeout of 60s blocking thread
//if the server is remote then :
if(m_server && m_server->isRemote()){
...
Wertz Gil
gilwertz at hotmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110404/cb1302ef/attachment.htm>
More information about the ParaView
mailing list