<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<style type="text/css">p, li { white-space: pre-wrap; }</style>When I try to connect my client to a pvserver and this one is not launched I have this message :<br><br>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: 'Monospace'; font-size: 9pt; color: rgb(200, 0, 0);">Warning: In /data/wertz/paraview-source/Servers/Common/vtkProcessModuleConnectionManager.cxx, line 299</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: 'Monospace'; font-size: 9pt; color: rgb(200, 0, 0);">vtkProcessModuleConnectionManager (0x2a84d10): Connect failed. Retrying for 53.8997 more seconds.</span></p><br>How do I set timeout to 1 second ?<br>How do I catch those warning without showing "Output Messages" window and from which element/class/manager does it depend ?<br><br>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 ?<br><br>Thanks.<br><br>Code :<br><br> QString host = "cs://";<br> host += given_host;<br> host += ":";<br> host += port;<br><br> if(m_server)<br> //if any remote or builtin server, delete them to free ressources<br> m_object_builder->removeServer(m_server);<br><br> //create new remote server<br> m_server = m_object_builder->createServer(pqServerResource(host)); //here timeout of 60s blocking thread<br> //if the server is remote then :<br> if(m_server && m_server->isRemote()){<br> ...<br><hr size="2" width="100%"><blockquote><blockquote><b>Wertz Gil</b><br></blockquote><i>gilwertz@hotmail.com</i><br></blockquote><hr size="2" width="100%"><br><br>                                            </body>
</html>