<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
I'd see, but it's VTK code, I'll have to change the vtkProcessModuleConnectionManager::OpenConnection(<br> const char* hostname, int port) and I don't wan this ...<br><br>Thanks for your response ...<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><br><br>> Date: Wed, 13 Apr 2011 09:10:17 -0400<br>> Subject: Re: [Paraview] change server timeout and hide "Output Messages"<br>> From: utkarsh.ayachit@kitware.com<br>> To: gilwertz@hotmail.com<br>> CC: paraview@paraview.org<br>> <br>> That's by design and currently there's no way of changing it besides<br>> changing the code. Feel free to add a feature request to the bug<br>> tracker and we can address it in future releases.<br>> <br>> <br>> <br>> On Wed, Apr 13, 2011 at 2:07 AM, Gil Wertz <gilwertz@hotmail.com> wrote:<br>> > Little UP<br>> ><br>> > When creating the pqServer, if it cannot connect directly to the server it<br>> > wait for 60s, I wan to set the time out to 1s.<br>> ><br>> > the builder line :<br>> > m_server = m_object_builder->createServer(pqServerResource(host)); //here<br>> > timeout of 60s if no server<br>> ><br>> > Thanks<br>> ><br>> > ________________________________<br>> ><br>> > Wertz Gil<br>> ><br>> > gilwertz@hotmail.com<br>> ><br>> > ________________________________<br>> ><br>> ><br>> ><br>> > ________________________________<br>> > From: gilwertz@hotmail.com<br>> > To: paraview@paraview.org<br>> > Date: Mon, 4 Apr 2011 15:13:33 +0200<br>> > Subject: [Paraview] change server timeout and hide "Output Messages"<br>> ><br>> > When I try to connect my client to a pvserver and this one is not launched I<br>> > have this message :<br>> ><br>> > Warning: In<br>> > /data/wertz/paraview-source/Servers/Common/vtkProcessModuleConnectionManager.cxx,<br>> > line 299<br>> ><br>> > vtkProcessModuleConnectionManager (0x2a84d10): Connect failed. Retrying for<br>> > 53.8997 more seconds.<br>> ><br>> > How do I set timeout to 1 second ?<br>> > How do I catch those warning without showing "Output Messages" window and<br>> > 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<br>> > second one I get timeout (because pvserver is not multi-client ), how do I<br>> > 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<br>> > ressources<br>> > m_object_builder->removeServer(m_server);<br>> ><br>> > //create new remote server<br>> > m_server =<br>> > m_object_builder->createServer(pqServerResource(host)); //here timeout of<br>> > 60s blocking thread<br>> > //if the server is remote then :<br>> > if(m_server && m_server->isRemote()){<br>> > ...<br>> > ________________________________<br>> ><br>> > Wertz Gil<br>> ><br>> > gilwertz@hotmail.com<br>> ><br>> > ________________________________<br>> ><br>> ><br>> > _______________________________________________ Powered by www.kitware.com<br>> > Visit other Kitware open-source projects at<br>> > http://www.kitware.com/opensource/opensource.html Please keep messages<br>> > on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView<br>> > Follow this link to subscribe/unsubscribe:<br>> > http://www.paraview.org/mailman/listinfo/paraview<br>> > _______________________________________________<br>> > Powered by www.kitware.com<br>> ><br>> > Visit other Kitware open-source projects at<br>> > http://www.kitware.com/opensource/opensource.html<br>> ><br>> > Please keep messages on-topic and check the ParaView Wiki at:<br>> > http://paraview.org/Wiki/ParaView<br>> ><br>> > Follow this link to subscribe/unsubscribe:<br>> > http://www.paraview.org/mailman/listinfo/paraview<br>> ><br>> ><br> </body>
</html>