Logo Search packages:      
Sourcecode: qnapi version File versions  Download package

void QInterProcessChannel::reconnect (  )  [slot]

Attemps to reconnect.

When the server instance is closed (or crashes...) the connectionLost() signal is emitted. As an alternative to closing the client instances it is possible to try a reconnection so that one of theclient will become a server.

When several clients are running side by side this function is very likely to cause a fork and create several (independant) clients whose only one will be reachable by newer clients...
See also:

Definition at line 166 of file qinterprocesschannel.cpp.

References init().

      //qDebug("attempting to reconnect");

Generated by  Doxygen 1.6.0   Back to index