I'd see, but it's VTK code, I'll have to change the vtkProcessModuleConnectionManager::OpenConnection( const char* hostname, int port) and I don't wan this ...
Thanks for your response ... Wertz Gil gilwe...@hotmail.com > Date: Wed, 13 Apr 2011 09:10:17 -0400 > Subject: Re: [Paraview] change server timeout and hide "Output Messages" > From: utkarsh.ayac...@kitware.com > To: gilwe...@hotmail.com > CC: paraview@paraview.org > > That's by design and currently there's no way of changing it besides > changing the code. Feel free to add a feature request to the bug > tracker and we can address it in future releases. > > > > On Wed, Apr 13, 2011 at 2:07 AM, Gil Wertz <gilwe...@hotmail.com> wrote: > > Little UP > > > > When creating the pqServer, if it cannot connect directly to the server it > > wait for 60s, I wan to set the time out to 1s. > > > > the builder line : > > m_server = m_object_builder->createServer(pqServerResource(host)); //here > > timeout of 60s if no server > > > > Thanks > > > > ________________________________ > > > > Wertz Gil > > > > gilwe...@hotmail.com > > > > ________________________________ > > > > > > > > ________________________________ > > From: gilwe...@hotmail.com > > To: paraview@paraview.org > > Date: Mon, 4 Apr 2011 15:13:33 +0200 > > Subject: [Paraview] change server timeout and hide "Output Messages" > > > > 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 > > > > gilwe...@hotmail.com > > > > ________________________________ > > > > > > _______________________________________________ Powered by www.kitware.com > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html Please keep messages > > on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > > http://www.paraview.org/mailman/listinfo/paraview > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Please keep messages on-topic and check the ParaView Wiki at: > > http://paraview.org/Wiki/ParaView > > > > Follow this link to subscribe/unsubscribe: > > http://www.paraview.org/mailman/listinfo/paraview > > > >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview